@balkangraph/orgchart.js 8.2.21 → 8.2.25
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 +3 -2
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -817,7 +817,7 @@ declare namespace OrgChart {
|
|
|
817
817
|
* @param type A case-sensitive string representing the event type to listen for.
|
|
818
818
|
* @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
|
|
819
819
|
*/
|
|
820
|
-
on(type: "show" | "element-btn-click" | "button-click" | "hide", listener: (sender: editUI, args: unknown, args1: unknown, args2: unknown) => void | boolean): editUI;
|
|
820
|
+
on(type: "show" | "save" | "cancel" | "element-btn-click" | "button-click" | "hide", listener: (sender: editUI, args: unknown, args1: unknown, args2: unknown) => void | boolean): editUI;
|
|
821
821
|
/**
|
|
822
822
|
* Shows the edit form for the specified node id
|
|
823
823
|
* @param id node id
|
|
@@ -1927,7 +1927,8 @@ declare namespace OrgChart {
|
|
|
1927
1927
|
editForm?: {
|
|
1928
1928
|
readOnly?: boolean,
|
|
1929
1929
|
titleBinding?: string,
|
|
1930
|
-
photoBinding?: string,
|
|
1930
|
+
photoBinding?: string,
|
|
1931
|
+
focusBinding?: string,
|
|
1931
1932
|
addMore?: string,
|
|
1932
1933
|
addMoreBtn?: string,
|
|
1933
1934
|
addMoreFieldName?: string,
|