我想将图像存储在Google的Cacheservice中,然后将该图像作为内联图像插入HTML邮件中。
我试着使它发挥作用,但到目前为止没有成功。Logger中下面代码的错误是“无效参数:附件”。如果我检查它,它显示sendMail()中的var图标是一个blob:
function onOpen(e){
var icon = DriveApp.getFileById('ID').getBlob().setName('icon');
var cache = CacheService.getDocumentCache().put('icon'
我是Polymer 3.0世界的新手,我认为它有很大的潜力。
我遵循了这里指出的教程:
这是最后的结果:
demo-element.js
import { PolymerElement, html } from '@polymer/polymer/polymer-element.js';
import '@polymer/iron-icons/iron-icons.js';
import '../icon-toggle.js';
class DemoElement extends PolymerElement {
static get t
我对角质和TypeScript很陌生。
我必须做一个按钮,可以有文字,图标或文本+图标。
示例:
button-icon-text-component.html
<button>
TEST BUTTON
</button>
app.component.html
<app-button-icon-text {here I have to choose beetwen TEXT or ICON}></app-button-icon-text>
button-icon-text-component.ts
import { Component, On