Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intent to implement: Bind #6199

Closed
dreamofabear opened this issue Nov 15, 2016 · 5 comments
Closed

Intent to implement: Bind #6199

dreamofabear opened this issue Nov 15, 2016 · 5 comments
Assignees
Labels
INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code P1: High Priority Type: Feature Request

Comments

@dreamofabear
Copy link

dreamofabear 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
Design doc: Link

@dreamofabear dreamofabear added the INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code label Nov 15, 2016
@dreamofabear dreamofabear self-assigned this Nov 15, 2016
@ericlindley-g ericlindley-g added this to the Current milestone Nov 26, 2016
This was referenced Dec 2, 2016
@ericlindley-g
Copy link
Contributor

@choumx — does this make sense to put in the sprint kicking off today, since Bind is in progress?

@dreamofabear
Copy link
Author

@ericlindley-g Moving back to prioritized FRs since this is a top-level tracking issue.

@ericlindley-g
Copy link
Contributor

Makes sense — thanks!

@adelinamart
Copy link
Contributor

@choumx any updates here? Thanks.

@dreamofabear
Copy link
Author

Yes! Closing since this is launching in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code P1: High Priority Type: Feature Request
Projects
None yet
Development

No branches or pull requests

4 participants