Open fstanis opened 4 years ago
As discussed in the previous meeting, currently email clients use a meta tag to limit the allowed AMP actions.
This proposal has two parts:
Based on what the email clients currently support, I propose the following list of actions as the initial whitelist:
*.show
*.hide
*.toggleVisibility
*.toggleClass
*.scrollTo
*.focus
AMP-ACCORDION.collapse
AMP-ACCORDION.expand
AMP-ACCORDION.toggle
AMP-CAROUSEL.goToSlide
AMP-IMAGE-LIGHTBOX.open
AMP-LIGHTBOX.open
AMP-LIGHTBOX.close
AMP-LIST.changeToLayoutContainer
AMP-LIST.refresh
AMP-SELECTOR.clear
AMP-SELECTOR.selectUp
AMP-SELECTOR.selectDown
AMP-SELECTOR.toggle
AMP-SIDEBAR.open
AMP-SIDEBAR.close
AMP-SIDEBAR.toggle
FORM.clear
FORM.submit
AMP.setState
As discussed in the previous meeting, currently email clients use a meta tag to limit the allowed AMP actions.
This proposal has two parts:
Based on what the email clients currently support, I propose the following list of actions as the initial whitelist:
*.show
*.hide
*.toggleVisibility
*.toggleClass
*.scrollTo
*.focus
AMP-ACCORDION.collapse
AMP-ACCORDION.expand
AMP-ACCORDION.toggle
AMP-CAROUSEL.goToSlide
AMP-IMAGE-LIGHTBOX.open
AMP-LIGHTBOX.open
AMP-LIGHTBOX.close
AMP-LIST.changeToLayoutContainer
AMP-LIST.refresh
AMP-SELECTOR.clear
AMP-SELECTOR.selectUp
AMP-SELECTOR.selectDown
AMP-SELECTOR.toggle
AMP-SIDEBAR.open
AMP-SIDEBAR.close
AMP-SIDEBAR.toggle
FORM.clear
FORM.submit
AMP.setState