package.src.vaadin-grid-sort-column.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grid Show documentation
Show all versions of grid Show documentation
A free, flexible and high-quality Web Component for showing large amounts of tabular data
The newest version!
/**
* @license
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import './vaadin-grid-sorter.js';
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
import { GridColumn } from './vaadin-grid-column.js';
import { GridSortColumnMixin } from './vaadin-grid-sort-column-mixin.js';
/**
* `` is a helper element for the ``
* that provides default header renderer and functionality for sorting.
*
* #### Example:
* ```html
*
*
*
*
* ...
* ```
*
* @fires {CustomEvent} direction-changed - Fired when the `direction` property changes.
*
* @customElement
* @extends GridColumn
* @mixes GridSortColumnMixin
*/
class GridSortColumn extends GridSortColumnMixin(GridColumn) {
static get is() {
return 'vaadin-grid-sort-column';
}
}
defineCustomElement(GridSortColumn);
export { GridSortColumn };
© 2015 - 2024 Weber Informatics LLC | Privacy Policy