@ConsumerType public interface AmpPage
AmpPage Sling Model used for AMP extension for the /apps/core/wcm/components/page/v2/page component.| Modifier and Type | Method and Description |
|---|---|
default Map<String,String> |
getPageLinkAttrs()
Getter for the relative page link to either the AMP version or base HTML version of the page.
|
default boolean |
isAmpEnabled()
Getter for whether the current page is AMP enabled.
|
default boolean |
isAmpSelector()
Getter for whether the current request has the AMP selector
|
default Map<String,String> getPageLinkAttrs()
default boolean isAmpSelector()
true if the current request has the AMP selector, false otherwisedefault boolean isAmpEnabled()
Copyright © 2010 - 2020 Adobe. All Rights Reserved