google-apps-script - 如何实现日期选择器?

标签 google-apps-script gmail-addons

在 Gmail 插件的卡片/小部件中实现/显示日期选择器 UI 的最佳方法是什么?我的用例是显示选定日期的用户日历事件。非常感谢任何帮助!

最佳答案

Gmail 加载项不支持自定义 UI,因此要回答您的问题,您还不能实现日期选择器。希望谷歌尽快添加支持。

相反,请检查此附加示例 https://github.com/googlesamples/gmail-add-ons-samples/tree/master/meeting-assistant

此外,附加组件是使用 Apps 脚本编写的,该脚本建立在 JavaScript 之上,是一种服务器端语言。

https://developers.google.com/gmail/add-ons/

关于google-apps-script - 如何实现日期选择器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47322091/

相关文章:

google-apps-script - 创建一个包含两个文本框的 HTML UI 表单。使用 Google 电子表格中的回复

python - 使用 Python 访问 Google 电子表格以供服务器到服务器使用

google-apps-script - 在同一项目/脚本中同时使用 AdminDirectory API 和 AdminReports API?

javascript - 如果 JSON-LD 没有 ID,有没有办法通过 JavaScript 访问它?

google-apps-script - 在 Gmail 插件中使用 UrlFetchApp 的权限错误

google-apps-script - 在 newSelectionInput OnChangeAction 上将部分小部件动态添加到 Card 中

google-apps-script - Gmail 插件在移动网站中不可用?

google-apps-script - 尝试使用 GmailApp.sendEmail - 缺少授权访问 token

google-apps-script - 无法获取事件用户的电子邮件

if-statement - Google Script .getvalue() 不处理带有公式的单元格