OrgChart API
API documentation for OrgChart component
OrgChartRoot#
Props#
Defines valid properties in OrgChart component.
State#
Defines valid state in OrgChart component.
| name | type | default | description |
|---|---|---|---|
| selectedNodes | string[] | null | The selected nodes' ids of the org chart. |
| collapsedNodes | string[] | null | The collapsed nodes' ids of the org chart. |
Exposes#
Defines the methods and properties exposed by OrgChart component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of OrgChart component.
Types#
Instance
Instance of OrgChart component.
| values |
|---|
| ComponentInstance<OrgChartRootProps, OrgChartRootState, OrgChartRootExposes> |
OrgChartTree#
Props#
Defines valid properties in OrgChartTree component.
Exposes#
Defines the methods and properties exposed by OrgChartTree component.
| name | type | default | description |
|---|---|---|---|
| orgchart | OrgChartRootInstance | null | The parent OrgChart instance. |
| level | number | null | The level of the org chart tree. |
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of OrgChartTree component.
| name | type | default | description |
|---|---|---|---|
| root | OrgChartTreePassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of OrgChartTree component.
| values |
|---|
| ComponentInstance<OrgChartTreeProps, OrgChartTreeState, OrgChartTreeExposes> |
OrgChartSubtree#
Props#
Defines valid properties in OrgChartSubtree component.
Exposes#
Defines the methods and properties exposed by OrgChartSubtree component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of OrgChartSubtree component.
| name | type | default | description |
|---|---|---|---|
| root | OrgChartSubtreePassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of OrgChartSubtree component.
| values |
|---|
| ComponentInstance<OrgChartSubtreeProps, OrgChartSubtreeState, OrgChartSubtreeExposes> |
OrgChartNode#
Props#
Defines valid properties in OrgChartNode component.
Exposes#
Defines the methods and properties exposed by OrgChartNode component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of OrgChartNode component.
| name | type | default | description |
|---|---|---|---|
| root | OrgChartNodePassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of OrgChartNode component.
| values |
|---|
| ComponentInstance<OrgChartNodeProps, OrgChartNodeState, OrgChartNodeExposes> |
OrgChartNodeContent#
Props#
Defines valid properties in OrgChartNodeContent component.
Exposes#
Defines the methods and properties exposed by OrgChartNodeContent component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of OrgChartNodeContent component.
| name | type | default | description |
|---|---|---|---|
| root | OrgChartNodeContentPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of OrgChartNodeContent component.
| values |
|---|
| ComponentInstance<OrgChartNodeContentProps, OrgChartNodeContentState, OrgChartNodeContentExposes> |
OrgChartCollapseButton#
Props#
Defines valid properties in OrgChartCollapseButton component.
Exposes#
Defines the methods and properties exposed by OrgChartCollapseButton component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of OrgChartCollapseButton component.
| name | type | default | description |
|---|---|---|---|
| root | OrgChartCollapseButtonPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of OrgChartCollapseButton component.
| values |
|---|
| ComponentInstance<OrgChartCollapseButtonProps, OrgChartCollapseButtonState, OrgChartCollapseButtonExposes> |