UNPKG

@3mo/data-grid

Version:
28 lines 966 B
import { type MaterialIcon } from '@3mo/icon'; import { DataGridColumnComponent } from './DataGridColumnComponent.js'; /** * @element mo-data-grid-column-deletion * * @attr prevent - Prevents the deletion button from being displayed * @attr icon - The icon to display. Defaults to 'delete' * @attr tooltip - The tooltip to display. Defaults to 'Delete position' * * @i18n "Delete position" * * @fires delete */ export declare class DataGridColumnDeletion<TData> extends DataGridColumnComponent<TData, never> { readonly delete: EventDispatcher<TData>; prevent: boolean; icon: MaterialIcon; tooltip?: string; nonSortable: boolean; nonEditable: boolean; getContentTemplate: (_: never, data?: TData) => import("lit-html").HTMLTemplateResult; } declare global { interface HTMLElementTagNameMap { 'mo-data-grid-column-deletion': DataGridColumnDeletion<unknown>; } } //# sourceMappingURL=DataGridColumnDeletion.d.ts.map