@balkangraph/orgchart.js 8.15.7 → 8.15.8

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
@@ -2904,12 +2904,70 @@ declare namespace OrgChart {
2904
2904
  }
2905
2905
  }
2906
2906
 
2907
-
2907
+ /**
2908
+ * Toolbar buttons. Set to true if you'd like to show a button
2909
+ */
2908
2910
  interface toolbar {
2911
+
2912
+ /**
2913
+ * Shows the layout options
2914
+ * ```typescript
2915
+ * var chart = new OrgChart('#tree', {
2916
+ * toolbar: {
2917
+ * layout: true
2918
+ * }
2919
+ * });
2920
+ * ```
2921
+ */
2909
2922
  layout?: boolean,
2923
+
2924
+ /**
2925
+ *
2926
+ * Zoom plus and minus buttons
2927
+ * ```typescript
2928
+ * var chart = new OrgChart('#tree', {
2929
+ * toolbar: {
2930
+ * zoom: true
2931
+ * }
2932
+ * });
2933
+ * ```
2934
+ */
2910
2935
  zoom?: boolean,
2936
+
2937
+ /**
2938
+ * Fit to screen option
2939
+ * ```typescript
2940
+ * var chart = new OrgChart('#tree', {
2941
+ * toolbar: {
2942
+ * fit: true
2943
+ * }
2944
+ * });
2945
+ * ```
2946
+ */
2911
2947
  fit?: boolean,
2948
+
2949
+ /**
2950
+ * Expand all nodes button
2951
+ * ```typescript
2952
+ * var chart = new OrgChart('#tree', {
2953
+ * toolbar: {
2954
+ * expandAll: true
2955
+ * }
2956
+ * });
2957
+ * ```
2958
+ */
2912
2959
  expandAll?: boolean,
2960
+
2961
+ /**
2962
+ * Switch to fullscreen button
2963
+ * ```typescript
2964
+ * var chart = new OrgChart('#tree', {
2965
+ * toolbar: {
2966
+ * fullScreen: true
2967
+ * }
2968
+ * });
2969
+ * ```
2970
+ */
2913
2971
  fullScreen?: boolean
2914
2972
  }
2915
2973