user-interface - Appsscript UI 库来开发 gmail 插件
问题描述
我一直在使用Card Service使用appsscript处理Gmail 插件。我也尝试过使用 html,但效果不佳。Gmail插件的appsscript中是否有与UI相关的库?
解决方案
Card Service 是唯一可用于在 Gmail 附加组件 [1] 中显示 html 的类。您可以从 Gmail 插件快速入门 [2] 开始并指导自己。
[1] https://developers.google.com/gsuite/add-ons/gmail/quickstart/
[2] https://developers.google.com/apps-script/reference/card-service/card-service.html
推荐阅读
- linux - 如何在 CLI 中列出所有 EBS 卷
- javascript - 如何使用 Jest 测试 img.onload?
- java - Proguard 删除 META-INF/versions/9 代码
- java - Java中的大(自然)数
- node.js - 如何通过文件上传传递参数并在节点js Ionic 3中获取它
- c# - 无法将当前 JSON 对象(例如 {"name":"value"})反序列化为类型 'System.Collections.Generic.ICollection`1[System.Double]'
- private - 为什么允许在复制构造函数中对私有数据使用点运算符?
- node.js - Bot Framework Webchat 无法从 Node.js restify 服务器(在 Azure 上)获取令牌:CORS 策略:不存在“Access-Control-Allow-Origin”标头
- c++ - 如何使用 cl Preprocess 为 masm 程序集生成单独的文件
- xml - 为什么这些规则在 Odoo 11 中有这种行为?