limestone/PageViews
Provides a Limestone styled pages component with page indicator and navigation buttons.
Usage:
<PageViews>
<PageViews.Page aria-label="This is a description for page">
lorem ipsum ...
</PageViews.Page>
</PageViews> Members
Section titled “Members ”PageViews Component
Section titled “PageViews   Component ”A PageViews that can navigate through different pages. Expects limestone/PageViewslimestone/PageViews.Page as children.
Extends:
limestone/PageViewslimestone/PageViews.PageViewsBase
Wrapped with:
ui/Changeableui/Changeable.Changeable
Properties
Sets the strategy used to automatically focus an element within the PageViews upon render. When set to 'none', focus is not set only on the first render.
Default: 'last-focused'Page Component
Section titled “Page   Component ”Page for limestone/PageViewslimestone/PageViews.PageViews.
Properties
children
Section titled “children”Contents of the page.
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
page- The root component class
aria-label
Section titled “aria-label”The aria-label for the page.
Example:
<PageViews.Page aria-label="This is a description for page">PageViewsBase Component
Section titled “PageViewsBase   Component ”A PageViews that has page indicator with corresponding pages.
Properties
bannerMode
Section titled “bannerMode”When true, disables Spotlight outside the container and enables 5-way navigation between panels.
Footer buttons are hidden when bannerMode is true.
children
Section titled “children”limestone/PageViewslimestone/PageViews.Page to be rendered.
Obtains a reference to the root node.
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
pageViews- The root component classcontentsArea- The contentsArea component classfooterButtons- The footerButtons component classnavButton- The navButton component classnavButtonContainer- Applied to the container containing navButtons in fullContents modestepsRow- The step component class
footerCloseLabel
Section titled “footerCloseLabel”The label of the footer Close button.
Default: 'Close'fullContents
Section titled “fullContents”When true, maximize its contents area.
Index of the active page.
Default: 0noAnimation
Section titled “noAnimation”Disables page transitions.
Default: falseonFooterCloseClick
Section titled “onFooterCloseClick”Called when the footer Close button is clicked.
onTransition
Section titled “onTransition”Called when a transition completes.
onWillTransition
Section titled “onWillTransition”Called before a transition begins.
Specifies on which side ('top' or 'bottom') the page indicator appears.
Type of page indicator.
There are two types:
dot- Indicates pages by dots.number- Indicates pages by current page number and total number of pages.
showFooterButtons
Section titled “showFooterButtons”When true, renders footer Close and Next buttons below the page content.
Footer buttons are hidden when bannerMode is true.