@balkangraph/orgchart.js 8.2.36 → 8.2.39
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 +8 -1
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -919,7 +919,7 @@ declare namespace OrgChart {
|
|
|
919
919
|
* @param type A case-sensitive string representing the event type to listen for.
|
|
920
920
|
* @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
|
|
921
921
|
*/
|
|
922
|
-
on(type: "show" | "drag" | "drop" | "mouseenter" | "mouseout", listener: (sender: circleMenuUI, args: any, args1: any, args2: any) => void | boolean): circleMenuUI;
|
|
922
|
+
on(type: "click" | "show" | "drag" | "drop" | "mouseenter" | "mouseout", listener: (sender: circleMenuUI, args: any, args1: any, args2: any) => void | boolean): circleMenuUI;
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
interface toolbarUI {
|
|
@@ -1956,6 +1956,13 @@ declare namespace OrgChart {
|
|
|
1956
1956
|
|
|
1957
1957
|
declare class OrgChartBase {
|
|
1958
1958
|
|
|
1959
|
+
/**
|
|
1960
|
+
* Can update link
|
|
1961
|
+
* @param id child id
|
|
1962
|
+
* @param pid parent id
|
|
1963
|
+
*/
|
|
1964
|
+
canUpdateLink(id: string | number, pid: string | number): boolean;
|
|
1965
|
+
|
|
1959
1966
|
/**
|
|
1960
1967
|
* Removes specified node from nodes collection, redraws the chart and fires remove event.
|
|
1961
1968
|
* @param id identification number of the node
|