import {TfResultsPerPageElement} from 'tablefilter/src/components/tf-results-per-page.js'TfResultsPerPageElement
Extends:
HTMLElement → TfResultsPerPageElement
Static Member Summary
| Static Public Members | ||
| public static get |
|
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
setPageLength(pageLength: *) Set the selected page length. |
|
| public |
setPageLengths(lengths: Array<*>) Supply the option list. |
|
| public |
setText(text: *) Set the label text, rendered into the |
|
Public Constructors
public constructor() source
Public Methods
public attributeChangedCallback() source
public connectedCallback() source
public setPageLength(pageLength: *) source
Set the selected page length.
Params:
| Name | Type | Attribute | Description |
| pageLength | * | Page length |
public setPageLengths(lengths: Array<*>) source
Supply the option list. Each entry becomes an option whose value and text are both the entry (src/modules/paging.js:681).
Params:
| Name | Type | Attribute | Description |
| lengths | Array<*> | Page lengths |
public setText(text: *) source
Set the label text, rendered into the results-text part.
Params:
| Name | Type | Attribute | Description |
| text | * | Label text |
