Intent to implement: Bind #6199

Open
choumx opened this Issue Nov 15, 2016 · 0 comments

Projects

In Progress in Ecommerce content features

3 participants

@choumx
Collaborator
choumx commented Nov 15, 2016

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 textContent changed from "" to "Hello World".

<amp-dataset id=”foo”>{ bar: “Hello World” }</amp-dataset>
<p [text]=”foo.bar”></p>

Syntax is subject to change.

Details

Syntax discussion: #5760
Implementation spec: Link

@choumx choumx self-assigned this Nov 15, 2016
@ericlindley-g ericlindley-g added this to the Current milestone Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment