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
Added integration with server-side rendered banners.
Added ability to provide custom options for each banner. Options can be passed via data attributes data-amp-option-<optionName>="<optionValue>" and can be retrieved in event handlers.
Added support for native lazy loading. Feature can be enabled through banner options loading=lazy and loading-offset=<offset> (for multiple positions only).
Changed
Property banner.data is now deprecated. To access information about a position use property banner.positionData. For example, replace banner.data.displayType with banner.positionData.displayType.
The default templates have been modified and moved to the ./src/template directory.