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

Add toggle action to <amp-selector> #13550

Closed
nainar opened this issue Feb 20, 2018 · 1 comment
Closed

Add toggle action to <amp-selector> #13550

nainar opened this issue Feb 20, 2018 · 1 comment
Assignees
Labels
INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code

Comments

@nainar
Copy link
Contributor

nainar commented Feb 20, 2018

Something like:

<button on="tap:mySelector.toggle(index=3, value=true)">Select the third option</button> should allow you to select the third element in the list.

Related to #10946 to enable list box behavior in AMP.

@nainar
Copy link
Contributor Author

nainar commented Feb 20, 2018

I have started working on this.

@dreamofabear dreamofabear added INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code Category: User Input labels Feb 22, 2018
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
Projects
None yet
Development

No branches or pull requests

2 participants