mind-elixir.nodeobj
Home > mind-elixir > NodeObj
NodeObj interface
MindElixir node object
Signature:
export interface NodeObj
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(Optional) The color of the branch. | ||
|
NodeObj[] |
(Optional) | ||
|
string |
(Optional) Render custom HTML in the node. Everything in the node will be replaced by this property. | ||
|
Left | Right |
(Optional) | ||
|
boolean |
(Optional) | ||
|
string |
(Optional) | ||
|
string[] |
(Optional) | ||
|
Uid | |||
|
{ url: string; width: number; height: number; fit?: 'fill' | 'contain' | 'cover'; } |
(Optional) | ||
|
string |
(Optional) Extra data for the node, which can be used to store any custom data. | ||
|
(Optional) This property is added programatically, do not set it manually. the Root node has no parent! | |||
|
Partial<{ fontSize: string; fontFamily: string; color: string; background: string; fontWeight: string; width: string; border: string; textDecoration: string; }> |
(Optional) | ||
|
(string | TagObj)[] |
(Optional) | ||
|
string |