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

Discussion: default allowed AMP actions #14

fstanis opened this issue Jan 15, 2020 · 0 comments

Discussion: default allowed AMP actions #14

fstanis opened this issue Jan 15, 2020 · 0 comments


Copy link

@fstanis fstanis commented Jan 15, 2020

As discussed in the previous meeting, currently email clients use a meta tag to limit the allowed AMP actions.

This proposal has two parts:

  1. Decide on the list of actions that are acceptable in emails.
  2. Ensure the action whitelist is managed on the AMP runtime as the default for email, instead of requiring the use of the meta tag.

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-LIGHTBOX.close
  • AMP-LIST.changeToLayoutContainer
  • AMP-LIST.refresh
  • AMP-SELECTOR.clear
  • AMP-SELECTOR.selectUp
  • AMP-SELECTOR.selectDown
  • AMP-SELECTOR.toggle
  • AMP-SIDEBAR.close
  • AMP-SIDEBAR.toggle
  • FORM.clear
  • FORM.submit
  • AMP.setState
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.