UNPKG

1.15 kBTypeScriptView Raw
1// Type definitions for ag-grid v18.1.2
2// Project: http://www.ag-grid.com/
3// Definitions by: Niall Crosby <https://github.com/ag-grid/>
4import { GridOptions } from '../entities/gridOptions';
5import { GridApi } from '../gridApi';
6import { ColumnApi } from '../columnController/columnApi';
7export declare class ComponentUtil {
8 static EVENTS: string[];
9 private static EVENT_CALLBACKS;
10 private static EVENT_CALLBACKS_NO_PREFIX;
11 static STRING_PROPERTIES: string[];
12 static OBJECT_PROPERTIES: string[];
13 static ARRAY_PROPERTIES: string[];
14 static NUMBER_PROPERTIES: string[];
15 static BOOLEAN_PROPERTIES: string[];
16 static FUNCTION_PROPERTIES: string[];
17 static ALL_PROPERTIES: string[];
18 static getEventCallbacks(): string[];
19 static copyAttributesToGridOptions(gridOptions: GridOptions, component: any, skipEventDeprecationCheck?: boolean): GridOptions;
20 static getCallbackForEvent(eventName: string): string;
21 static processOnChange(changes: any, gridOptions: GridOptions, api: GridApi, columnApi: ColumnApi): void;
22 static toBoolean(value: any): boolean;
23 static toNumber(value: any): number;
24}