TfPagerElement
Extends:
Static Member Summary
| Static Public Members | ||
| public static get |
|
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
setLabel(label: *) Set the landmark's accessible name, rendered as |
|
| public |
setPage(page: *) Set the current page number. |
|
| public |
Supply the page list rendered into the select. |
|
| public |
setTotalPages(totalPages: *) Set the page count, resolved by the host from the legacy Paging feature. |
|
Static Public Members
public static get observedAttributes: * source
Public Constructors
public constructor() source
Public Methods
public attributeChangedCallback() source
public connectedCallback() source
public setLabel(label: *) source
Set the landmark's accessible name, rendered as aria-label on
the nav part.
Params:
| Name | Type | Attribute | Description |
| label | * | Accessible name |
public setPage(page: *) source
Set the current page number.
Params:
| Name | Type | Attribute | Description |
| page | * | Page number, 1-based |
public setPages(pages: Array<Object>) source
Supply the page list rendered into the select. Each entry is
{text, value} — the legacy option model, page number as visible
text and start row as value (paging.js:546).
public setTotalPages(totalPages: *) source
Set the page count, resolved by the host from the legacy Paging feature.
Params:
| Name | Type | Attribute | Description |
| totalPages | * | Page count |
