Pagination: API Table
class: LionPagination
, lion-pagination
Fields
Name | Privacy | Type | Default | Description | Inherited From |
---|---|---|---|---|---|
current | public | number | 1 | ||
count | public | number | 0 |
Methods
Name | Privacy | Description | Parameters | Return | Inherited From |
---|---|---|---|---|---|
next | public | Go next in pagination | |||
first | public | Go to first page | |||
last | public | Go to the last page | |||
goto | public | Go to the specific page | pageNumber: number | ||
previous | public | Go back in pagination | |||
_prevNextIconTemplate | protected | Get previous or next button template. This method can be overridden to apply customized template in wrapper. | label: String | TemplateResult | |
_prevNextButtonTemplate | protected | Get next or previous button template. This method can be overridden to apply customized template in wrapper. | label: String, pageNumber: Number, namespace: String | TemplateResult | |
_disabledButtonTemplate | protected | Get disabled button template. This method can be overridden to apply customized template in wrapper. | label: String | TemplateResult | |
_renderNavList | protected | Render navigation list | TemplateResult[] |
Attributes
Name | Field | Inherited From |
---|---|---|
current | current | |
count | count |