UNPKG

svogv

Version:

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

10 lines (9 loc) 394 B
/** * The Readonly decorator. The field is readonly in the form. It just renders grayed out * and handles the internals using default HTML5 techniques. * * * @param readonly Optional, default is true. * @param description A tooltip that can be used optionally. */ export declare function Readonly(readonly?: boolean): (target: object, property: string | symbol) => void;