Kevin Howald
Kevin Howald
Based on the conversation on #7557 (starting at https://github.com/ampproject/amphtml/issues/7557#issuecomment-290585911), I don't think bind will be able to accomplish this as we don't want to mutate state without explicit user interaction.
Still using bind, right? I'm still concerned about a `setState` that isn't triggered by user interaction since that will cause (re-)evaluation of all bind expressions.
In order to give developers control over the contents and styling of the button and the new item count, I think we would need to either allow templating of the...
[Here's an example](https://github.com/ampproject/amphtml/blob/master/examples/bind/video.amp.html#L46) of changing `amp-youtube`'s `data-videoid` attribute with bind. @ericlindley-g can we close this issue?
@ericlindley-g Can we close this issue? Looks like bind covers this use-case, as you mentioned.
I'm not sure this can be done without a rather large refactor. Almost all of the install methods on each of the services returns the service. Some of these always...
I believe this was fixed in #6488 [commit](https://github.com/ampproject/amphtml/commit/9b832f8bc2a8d02416cac85f1e9ffd7f34136223)
We now have integration tests for all currently supported components.
- Reading docs
Closed by #7602