coersystem
Version:
Library for Angular projects
12 lines (11 loc) • 606 B
TypeScript
import { IGridCoerSwitch, IGridCoerTextBox, IGridItem } from "coersystem/interfaces";
export declare const GridTemplates: {
/** Set Active/Disabled values, template for boolean property */
isActiveTemplate: (item: IGridItem<any>) => string;
/** Enable switch by row, template for boolean property */
coerSwitchTemplate: (item: IGridItem<any>) => IGridCoerSwitch;
/** Enable textbox by row, template for text property */
coerTextboxTemplate: (item: IGridItem<any>) => IGridCoerTextBox;
/** Template for icons */
coerIconTemplate: (icon: string, color?: string) => string;
};