@balkangraph/orgchart.js 8.14.75 → 8.14.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/orgchart.d.ts CHANGED
@@ -1029,36 +1029,46 @@ declare class OrgChart extends OrgChartBase {
1029
1029
 
1030
1030
  /**
1031
1031
  * The tree div element.
1032
+ * ```typescript
1032
1033
  * let chart = new OrgChart('#tree', {});
1033
1034
  * let element = chart.element;
1035
+ * ```
1034
1036
  */
1035
1037
  element: HTMLElement;
1036
1038
 
1037
1039
  /**
1038
1040
  * The chart editUI object.
1041
+ * ```typescript
1039
1042
  * let chart = new OrgChart('#tree', {});
1040
1043
  * let editUI = chart.editUI;
1044
+ * ```
1041
1045
  */
1042
1046
  editUI: OrgChart.editUI;
1043
1047
 
1044
1048
  /**
1045
1049
  * The chart searchUI object.
1050
+ * ```typescript
1046
1051
  * let chart = new OrgChart('#tree', {});
1047
1052
  * let searchUI = chart.searchUI;
1053
+ * ```
1048
1054
  */
1049
1055
  searchUI: OrgChart.searchUI;
1050
1056
 
1051
1057
  /**
1052
1058
  * The chart nodeMenuUI object.
1059
+ * ```typescript
1053
1060
  * let chart = new OrgChart('#tree', {});
1054
1061
  * let nodeMenuUI = chart.nodeMenuUI;
1062
+ * ```
1055
1063
  */
1056
1064
  nodeMenuUI: OrgChart.menuUI;
1057
1065
 
1058
1066
  /**
1059
1067
  * The chart filterUI object.
1068
+ * ```typescript
1060
1069
  * let chart = new OrgChart('#tree', {});
1061
1070
  * let filterUI = chart.filterUI;
1071
+ * ```
1062
1072
  */
1063
1073
  filterUI: OrgChart.filterUI;
1064
1074
 
@@ -1071,12 +1081,72 @@ declare class OrgChart extends OrgChartBase {
1071
1081
  * @ignore
1072
1082
  */
1073
1083
  yScrollUI: OrgChart.yScrollUI;
1084
+
1085
+ /**
1086
+ * The chart undoRedoUI object.
1087
+ * ```typescript
1088
+ * let chart = new OrgChart('#tree', {});
1089
+ * let undoRedoUI = chart.undoRedoUI;
1090
+ * ```
1091
+ */
1074
1092
  undoRedoUI: OrgChart.undoRedoUI;
1093
+
1094
+ /**
1095
+ * The chart nodeCircleMenuUI object.
1096
+ * ```typescript
1097
+ * let chart = new OrgChart('#tree', {});
1098
+ * let nodeCircleMenuUI = chart.nodeCircleMenuUI;
1099
+ * ```
1100
+ */
1075
1101
  nodeCircleMenuUI: OrgChart.circleMenuUI;
1102
+
1103
+ /**
1104
+ * The chart nodeContextMenuUI object.
1105
+ * ```typescript
1106
+ * let chart = new OrgChart('#tree', {});
1107
+ * let nodeContextMenuUI = chart.nodeContextMenuUI;
1108
+ * ```
1109
+ */
1076
1110
  nodeContextMenuUI: OrgChart.menuUI;
1111
+
1112
+ /**
1113
+ * The chart menuUI object.
1114
+ * ```typescript
1115
+ * let chart = new OrgChart('#tree', {});
1116
+ * let menuUI = chart.menuUI;
1117
+ * ```
1118
+ */
1077
1119
  menuUI: OrgChart.menuUI;
1078
- toolbarUI: OrgChart.toolbarUI;
1120
+
1121
+ /**
1122
+ * The chart toolbarUI object.
1123
+ * ```typescript
1124
+ * let chart = new OrgChart('#tree', {});
1125
+ * let toolbarUI = chart.toolbarUI;
1126
+ * ```
1127
+ */
1128
+ toolbarUI: OrgChart.toolbarUI;
1129
+
1130
+ /**
1131
+ * The chart config object.
1132
+ * ```typescript
1133
+ * let chart = new OrgChart('#tree', {});
1134
+ * let config = chart.config;
1135
+ * ```
1136
+ */
1079
1137
  config: OrgChart.options;
1138
+
1139
+ /**
1140
+ * All root nodes in the chart
1141
+ * ```typescript
1142
+ * let chart = new OrgChart('#tree', {});
1143
+ * chart.onInit(() => {
1144
+ * let roots = chart.roots
1145
+ * });
1146
+ * chart.load(nodes)
1147
+ * ```
1148
+ */
1149
+
1080
1150
  roots: Array<OrgChart.node>;
1081
1151
 
1082
1152
  static fileUploadDialog(callback: (file: any) => void): void;