svogv
Version:
A decorator based approach for model driven forms, including an advanced DataGrid and a TreeView component.
10 lines (9 loc) • 367 B
TypeScript
/**
* The Placeholder decorator.
*
* The placeholder adds the given text as a watermark to any input fields.
* There is no function in the {@link DataGridComponent}.
*
* @param name The Name that appears in form fields as a watermark.
*/
export declare function Placeholder(name: string): (target: object, property: string | symbol) => void;