UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

70 lines (69 loc) 3.65 kB
/*! * devextreme-angular * Version: 24.2.6 * Build date: Mon Mar 17 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ import { ElementRef, Renderer2, AfterViewInit } from '@angular/core'; import dxDataGrid from 'devextreme/ui/data_grid'; import { dxDataGridColumn, dxDataGridRowObject, DataGridPredefinedColumnButton, ColumnButtonClickEvent } from 'devextreme/ui/data_grid'; import { NestedOptionHost, DxTemplateDirective, IDxTemplateHost, DxTemplateHost } from 'devextreme-angular/core'; import { CollectionNestedOption } from 'devextreme-angular/core'; import * as i0 from "@angular/core"; export declare class DxiDataGridButtonComponent extends CollectionNestedOption implements AfterViewInit, IDxTemplateHost { private renderer; private document; private element; get cssClass(): string; set cssClass(value: string); get disabled(): boolean | ((options: { column: dxDataGridColumn; component: dxDataGrid; row: dxDataGridRowObject; }) => boolean); set disabled(value: boolean | ((options: { column: dxDataGridColumn; component: dxDataGrid; row: dxDataGridRowObject; }) => boolean)); get hint(): string; set hint(value: string); get icon(): string; set icon(value: string); get name(): DataGridPredefinedColumnButton | string; set name(value: DataGridPredefinedColumnButton | string); get onClick(): ((e: ColumnButtonClickEvent) => void); set onClick(value: ((e: ColumnButtonClickEvent) => void)); get template(): any; set template(value: any); get text(): string; set text(value: string); get visible(): boolean | ((options: { column: dxDataGridColumn; component: dxDataGrid; row: dxDataGridRowObject; }) => boolean); set visible(value: boolean | ((options: { column: dxDataGridColumn; component: dxDataGrid; row: dxDataGridRowObject; }) => boolean)); protected get _optionPath(): string; constructor(parentOptionHost: NestedOptionHost, optionHost: NestedOptionHost, renderer: Renderer2, document: any, templateHost: DxTemplateHost, element: ElementRef); setTemplate(template: DxTemplateDirective): void; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DxiDataGridButtonComponent, [{ host: true; skipSelf: true; }, { host: true; }, null, null, { host: true; }, null]>; static ɵcmp: i0.ɵɵComponentDeclaration<DxiDataGridButtonComponent, "dxi-data-grid-button", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "name": { "alias": "name"; "required": false; }; "onClick": { "alias": "onClick"; "required": false; }; "template": { "alias": "template"; "required": false; }; "text": { "alias": "text"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, ["*"], false, never>; } export declare class DxiDataGridButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration<DxiDataGridButtonModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<DxiDataGridButtonModule, [typeof DxiDataGridButtonComponent], never, [typeof DxiDataGridButtonComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<DxiDataGridButtonModule>; }