Package google.apps.script.type.slides
SlidesAddOnManifest
用于自定义 Google 幻灯片插件外观和执行的属性。
SlidesExtensionPoint
字段 |
runFunction |
string
必需。激活此扩展点时要执行的端点。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-27。
[null,null,["最后更新时间 (UTC):2025-02-27。"],[[["`SlidesAddOnManifest` customizes the appearance and execution of Google Slides add-ons, including homepage configuration and triggers for file scope authorization."],["`SlidesAddOnManifest` utilizes extension points like `HomepageExtensionPoint`, `SlidesExtensionPoint`, and `LinkPreviewExtensionPoint` to define add-on behavior."],["`SlidesExtensionPoint` provides a structure for declaring triggers with a `runFunction` field specifying the endpoint to execute when triggered."],["The documentation outlines properties for customizing Slides add-ons and how to declare triggers using `SlidesExtensionPoint`, and it includes resources for previewing links with smart chips."]]],["The core content details the configuration of Google Slides add-ons through two main components: `SlidesAddOnManifest` and `SlidesExtensionPoint`. `SlidesAddOnManifest` allows customization via a `homepageTrigger` (overriding default settings), an `onFileScopeGrantedTrigger` (specifying execution upon file scope authorization), and `linkPreviewTriggers` (managing link previews). `SlidesExtensionPoint` defines triggers, requiring a `runFunction` endpoint, executed upon trigger activation. These components dictate add-on behavior and interaction within Google Slides.\n"]]