import {TfSortHeaderElement} from 'tablefilter/src/components/tf-sort-header.js'TfSortHeaderElement
Extends:
HTMLElement → TfSortHeaderElement
Static Member Summary
| Static Public Members | ||
| public static get |
|
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
Get the effective sort direction. |
|
| public |
setLabel(label: *) Set the trigger's accessible name, rendered as |
|
| public |
setSortDirection(direction: *) Set the column's sort direction. Invalid values restore the column
header's previous |
|
| public |
setText(text: *) Set the visible label, rendered into the |
|
Public Constructors
public constructor() source
Public Methods
public attributeChangedCallback() source
public connectedCallback() source
public disconnectedCallback() source
public setLabel(label: *) source
Set the trigger's accessible name, rendered as aria-label.
Params:
| Name | Type | Attribute | Description |
| label | * | Accessible name |
public setSortDirection(direction: *) source
Set the column's sort direction. Invalid values restore the column
header's previous aria-sort.
Params:
| Name | Type | Attribute | Description |
| direction | * |
|
public setText(text: *) source
Set the visible label, rendered into the text part.
Params:
| Name | Type | Attribute | Description |
| text | * | Label text |
