UNPKG

svogv

Version:

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

11 lines (10 loc) 653 B
/** * The DisplayGroup decorator. Groups fields in auto forms; see {@link AutoFormComponent}. * Just define a name (that appears as the group's name) and * put the very same name on all members of the group. * * @param name The Name or Label that appears in forms as the groups legend. * @param order If one uses {@link AutoFormComponent} to create a whole form from a model, this controls the groups order. * @param description A tooltip, which can be used optionally. */ export declare function DisplayGroup(name: string, order?: number, description?: string): (target: object, property: string | symbol) => void;