UNPKG

@scoped-vaadin/grid

Version:

A free, flexible and high-quality Web Component for showing large amounts of tabular data

36 lines (31 loc) 1.18 kB
/** * @license * Copyright (c) 2016 - 2024 Vaadin Ltd. * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ */ import '@scoped-vaadin/text-field/src/vaadin-lit-text-field.js'; import { html, LitElement } from 'lit'; import { defineCustomElement } from '@scoped-vaadin/component-base/src/define.js'; import { PolylitMixin } from '@scoped-vaadin/component-base/src/polylit-mixin.js'; import { ThemableMixin } from '@scoped-vaadin/vaadin-themable-mixin'; import { GridFilterElementMixin } from './vaadin-grid-filter-element-mixin.js'; /** * LitElement based version of `<vaadin24-grid-filter>` web component. * * ## Disclaimer * * This component is an experiment and not yet a part of Vaadin platform. * There is no ETA regarding specific Vaadin version where it'll land. * Feel free to try this code in your apps as per Apache 2.0 license. */ class GridFilter extends GridFilterElementMixin(ThemableMixin(PolylitMixin(LitElement))) { static get is() { return 'vaadin24-grid-filter'; } /** @protected */ render() { return html`<slot></slot>`; } } defineCustomElement(GridFilter); export { GridFilter };