You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hoping this isn't too generically described, though it might be.
Basically we need a way to have some element, which, upon click by the user, will be able to make a request to a server, get back some data, and modify the page in some way:
Click a button that says (for now, ignoring the account login pieces required here) "Add to cart", "Add to wishlist", "Read later", "Like" and the button is updated to reflect the outcome of the operation (e.g. was added to cart successfully/unsuccessfully, etc.). Note that the UI element basically stays the same, but may be styled differently or be populated with some different text.
Click on something (text, div) and some more content comes in, provided by the server. For instance, this could be used to populate the content piece of an amp-accordion after the user has clicked on its header. Note that this is not simply saying unhide a div that was already on the page since we need to go to the server to get the additional content.
Implementation-wise, this seems to require some mix of AMP Bind and the additional server communication introduced by the amp-list feature.
I'm hoping this isn't too generically described, though it might be.
Basically we need a way to have some element, which, upon click by the user, will be able to make a request to a server, get back some data, and modify the page in some way:
Implementation-wise, this seems to require some mix of AMP Bind and the additional server communication introduced by the amp-list feature.
cc @ericlindley-g @dvoytenko
(Apologies if there are other issues that track this behavior. Please link and dupe this if so.)
The text was updated successfully, but these errors were encountered: