All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.vaadin-grid-sort-column.js Maven / Gradle / Ivy

Go to download

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