@xtctwins/tctwins-core 1.0.10 → 1.0.11
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/dist/tctwins-core.cjs.js +10 -7
- package/dist/tctwins-core.es.js +10 -7
- package/dist/tctwins-core.es5.js +4 -4
- package/dist/tctwins-core.min.cjs.js +3 -3
- package/dist/tctwins-core.min.es.js +3 -3
- package/dist/tctwins-core.min.es5.js +3 -3
- package/package.json +1 -1
- package/types/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +19 -0
package/package.json
CHANGED
|
@@ -154,4 +154,23 @@ export declare class TreeViewPlugin extends Plugin {
|
|
|
154
154
|
* @param {Function} callback Callback fired on the event
|
|
155
155
|
*/
|
|
156
156
|
on(event: "nodeTitleClicked", callback: (data: { event: MouseEvent, viewer: Viewer, treeViewPlugin: TreeViewPlugin, treeViewNode: TreeViewNode }) => void): void;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Fires when click the ExpandButton
|
|
160
|
+
* @param event
|
|
161
|
+
* @param callback
|
|
162
|
+
*/
|
|
163
|
+
on(event:"ExpandHandler", callback:(event:any)=>void):void;
|
|
164
|
+
/**
|
|
165
|
+
* Fires when click the Collapse
|
|
166
|
+
* @param event
|
|
167
|
+
* @param callback
|
|
168
|
+
*/
|
|
169
|
+
on(event:"CollapseHandler", callback:(event:any)=>void):void;
|
|
170
|
+
/**
|
|
171
|
+
* Fires when click the checkBox
|
|
172
|
+
* @param event
|
|
173
|
+
* @param callback
|
|
174
|
+
*/
|
|
175
|
+
on(event:"checkBoxChanged", callback:(event:any)=>void):void;
|
|
157
176
|
}
|