UNPKG

svogv

Version:

A decorator based approach for model driven forms, including an advanced DataGrid and a TreeView component.

14 lines (13 loc) 530 B
/** * The Hidden decorator. * * The {@link DataGrid} does not show columns for properties tagged with {@link `Hidden`} decorator. * Fields in forms that render automatically * using the {@link `EditorComponent`} will render as `<input type="hidden">`. * * @param hide Optional, default is `true`. */ export declare function Hidden(hide?: boolean): (target: object, property: string | symbol) => void; export declare namespace Hidden { var IsHidden: (target: object, key: string, def?: boolean) => any; }