Some extensions, such as amp-video-docking, add new attributes (e.g.
dock) to existing AMP tags (e.g. amp-video). This commit will
automatically import the required extensions for these attributes.
This add support for:
amp-video-docking
amp-fx-collection (only for AMP tags)
amp-lightbox-gallery
amp-bind auto-import
Adds support for auto-importing the amp-bind extension based on the
presence of a binding.
Adds a new binding syntax for AMP tags: bindAttribute instead of
data-amp-bind-attribute.
Caveat: both only work on AMP tags, but not on non-AMP tags such as
div.
Two related changes:
Some extensions, such as amp-video-docking, add new attributes (e.g.
dock
) to existing AMP tags (e.g. amp-video). This commit will automatically import the required extensions for these attributes.This add support for:
bindAttribute
instead ofdata-amp-bind-attribute
.Caveat: both only work on AMP tags, but not on non-AMP tags such as
div
.