-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Intent to implement: Bind #6199
Copy link
Copy link
Closed
Labels
INTENT TO IMPLEMENTProposes implementation of a significant new feature. https://bit.ly/amp-contribute-codeProposes implementation of a significant new feature. https://bit.ly/amp-contribute-codeP1: High PriorityType: Feature Request
Milestone
Metadata
Metadata
Assignees
Labels
INTENT TO IMPLEMENTProposes implementation of a significant new feature. https://bit.ly/amp-contribute-codeProposes implementation of a significant new feature. https://bit.ly/amp-contribute-codeP1: High PriorityType: Feature Request
Summary
Bind is a new AMP extension that allows elements to mutate in response to user actions or data changes via data binding and simple JS-like expressions.
This will allow publishers to build responsive UIs for use cases not covered by existing AMP extended components. See #5059 for possible use cases.
Usage
In this example, the <p> element will have its
textContentchanged from "" to "Hello World".Syntax is subject to change.
Details
Syntax discussion: #5760
Design doc: Link