简体   繁体   English

使用 Angular 框架构建 Gmail 插件?

[英]Building Gmail add-ons with Angular framework?

We are finishing up an Outlook add-in which was written using Angular 8 with typescript.我们正在完成一个Outlook 插件,它是使用 Angular 8 和 typescript 编写的。 I am doing my investigation into what it will take to write a gmail add-on.我正在调查编写 gmail 插件需要什么。 I've gone through the quickstart tutorial using Apps Script.我已经使用 Apps 脚本完成了 快速入门教程 I've also looked at the clasp tool .我还查看了扣环工具

Is it possible to create a Google add-on with the angular framework?是否可以使用 angular 框架创建 Google 插件? Thank you.谢谢你。

Unfortunately, it is not possible to build Gmail add-ons with Angular framework.不幸的是,无法使用 Angular 框架构建 Gmail 插件。

Gmail add-ons are distinct from "Editor Add-ons"(ie. add-ons built for Google Sheets, Google Docs or Google Forms) and are developed strictly with App Script using a widget-based model. Gmail 插件与“编辑器插件”(即为 Google 表格、Google 文档或 Google 表单构建的插件)不同,并且是使用基于小部件的模型严格使用 App 脚本开发的。

Furthermore, Gmail Add-on development does not grant developer's direct access to the DOM.此外,Gmail 插件开发并未授予开发人员对 DOM 的直接访问权限。 See restrictions of Gmail addons. 查看Gmail 插件的限制

You could try using the InboxSDK .您可以尝试使用InboxSDK

Typically you end up having to manipluate the DOM.通常,您最终不得不操作 DOM。 This tool caters for most the key functions in an easy to use library.这个工具在一个易于使用的库中满足了大多数关键功能。

Not so sure how you will use Angular but it is possible to build rich experiences based on this library.不太确定您将如何使用 Angular,但可以基于此库构建丰富的体验。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM