Skip to content

Commit 6fc5bc6

Browse files
Fix frontmatter for assistant.js extension (#33062)
1 parent 32a411d commit 6fc5bc6

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
---
2+
$category@: dynamic-content
3+
formats:
4+
- websites
5+
teaser:
6+
text: TODO
7+
experimental: true
8+
---
9+
110
# `amp-google-assistant-assistjs`
211

312
Assist.js is a javascript library third party developers can include on their website to bring Assistant capabilities to their users. This extension embeds most of the assist.js library to make it accessible to AMP pages.
413

5-
In the regular html world, the third-party site imports assist.js script, and embedded several assist.js widgets tags like <google-assistant-link-group>. The imported assist.js runtime will initialize and render those tags with Google-owned iframes, and also an invisible bottom sheet which shows as the assistant dialog plate when widgets are triggered. In AMP world, the assist.js library would be contained in this extension with its responsibilties unchanged, which is to coordinate communication between Google-owned iframes and bring up dialog plate for third-party site users to interact with.
14+
In the regular html world, the third-party site imports assist.js script, and embedded several assist.js widgets tags like `<google-assistant-link-group>`. The imported assist.js runtime will initialize and render those tags with Google-owned iframes, and also an invisible bottom sheet which shows as the assistant dialog plate when widgets are triggered. In AMP world, the assist.js library would be contained in this extension with its responsibilities unchanged, which is to coordinate communication between Google-owned iframes and bring up dialog plate for third-party site users to interact with.
615

716
Here is the [live example](https://developers.google.com/assistant/engagement/assistant-links#rich_assistant_links) of one of the assist.js functionalities.

0 commit comments

Comments
 (0)