amp-by-example icon indicating copy to clipboard operation
amp-by-example copied to clipboard

Create demo for static Linked Dropdowns

Open demianrenzulli opened this issue 6 years ago • 0 comments

The current demo for Linked Drowpdowns makes use of nested amp-list component, that issue server-side requests to populate the main and secondary drop-downs.

Some sites count with this information at load time, and would prefer to have a static implementation, that doesn't require having an endpoint.

For this, we can use amp-bind, to show/hide certain options on the second drop-down, when an option on the first one is selected.

demianrenzulli avatar Oct 10 '18 18:10 demianrenzulli