Number of pages on both sides of current active page.
totalPages
totalPages:number = 10
Total number of pages.
Staticstyles
styles:CSSResultGroup[] = ...
currentPage
getcurrentPage():number
Current active page.
Returns number
setcurrentPage(page:number):void
Parameters
page: number
Returns void
getIconButton
getIconButton( Â Â Â Â iconName:string, Â Â Â Â pageNumber:number, Â Â Â Â disabled:boolean, ):TemplateResult<1>
Parameters
iconName: string
pageNumber: number
disabled: boolean
Returns TemplateResult<1>
rendering
Protectedrender
render():TemplateResult<1>
Invoked on each update to perform rendering tasks. This method may return
any value renderable by lit-html's ChildPart - typically a
TemplateResult. Setting properties inside this method will not trigger
the element to update.
Pagination needs a description.
ZetaPageEvent:zeta-page-change - Fired when page change. Contains a single value in details:
page: number
.Figma
https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=229-24&node-type=canvas&m=dev
Storybook
https://zeta-ds.web.app/web/storybook/index.html?path=/docs/pagination--docs