Home Reference Source
import {TfResultsPerPageElement} from 'tablefilter/src/components/tf-results-per-page.js'
public class | source

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 results-text part.

Static Public Members

public static get observedAttributes: string[] source

Public Constructors

public constructor() source

Public Methods

public attributeChangedCallback() source

public connectedCallback() source

public setPageLength(pageLength: *) source

Set the selected page length.

Params:

NameTypeAttributeDescription
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:

NameTypeAttributeDescription
lengths Array<*>

Page lengths

public setText(text: *) source

Set the label text, rendered into the results-text part.

Params:

NameTypeAttributeDescription
text *

Label text