svogv
Version:
A decorator based approach for model driven forms, including an advanced DataGrid and a TreeView component.
35 lines (34 loc) • 820 B
TypeScript
/**
* The state of node
*/
export declare enum TreeNodeState {
undefined = 0,
checked = 1,
disabled = 2,
expanded = 4,
selected = 8
}
/**
* The view options of node
*/
export declare class TreeNodeOptions {
/** Show the expand icons */
collapsable: boolean;
/** An additional icon, must be a fontawesome class */
icon: string;
/** An additional icon's primary color */
iconColor: string;
/** An additional icon on select */
selectedIcon: string;
/** Text color */
color: string;
/** backColor */
backColor: string;
/** A hyperlink */
href: string;
/** Node can be selected */
selectable: boolean;
/** Node can be checked */
checkable: boolean;
constructor(options?: TreeNodeOptions);
}