@balkangraph/orgchart.js 8.9.12 → 8.9.15
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 +9 -8
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -369,7 +369,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
369
369
|
* @category Event Listeners
|
|
370
370
|
* @param listener
|
|
371
371
|
*/
|
|
372
|
-
onField(listener: (args: {
|
|
372
|
+
onField(listener: (this: OrgChart, args: {
|
|
373
373
|
/**
|
|
374
374
|
* the node
|
|
375
375
|
*/
|
|
@@ -403,7 +403,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
403
403
|
* @category Event Listeners
|
|
404
404
|
* @param listener
|
|
405
405
|
*/
|
|
406
|
-
onInit(listener: () => void): OrgChart;
|
|
406
|
+
onInit(listener: (this: OrgChart) => void): OrgChart;
|
|
407
407
|
|
|
408
408
|
|
|
409
409
|
|
|
@@ -418,7 +418,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
418
418
|
* @category Event Listeners
|
|
419
419
|
* @param listener
|
|
420
420
|
*/
|
|
421
|
-
onRedraw(listener: () => void): OrgChart;
|
|
421
|
+
onRedraw(listener: (this: OrgChart) => void): OrgChart;
|
|
422
422
|
|
|
423
423
|
/**
|
|
424
424
|
* The onExpandCollpaseButtonClick event occurs when the chart is redrawed.
|
|
@@ -432,7 +432,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
432
432
|
* @category Event Listeners
|
|
433
433
|
* @param listener
|
|
434
434
|
*/
|
|
435
|
-
onExpandCollpaseButtonClick(listener: (args: {
|
|
435
|
+
onExpandCollpaseButtonClick(listener: (this: OrgChart, args: {
|
|
436
436
|
/**
|
|
437
437
|
* Indicates id the operation is collaps or expand
|
|
438
438
|
*/
|
|
@@ -459,7 +459,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
459
459
|
* @category Event Listeners
|
|
460
460
|
* @param listener
|
|
461
461
|
*/
|
|
462
|
-
onExportStart(listener: (args:
|
|
462
|
+
onExportStart(listener: (this: OrgChart, args:
|
|
463
463
|
{
|
|
464
464
|
/**
|
|
465
465
|
* the content to be exported
|
|
@@ -516,7 +516,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
516
516
|
* @category Event Listeners
|
|
517
517
|
* @param listener
|
|
518
518
|
*/
|
|
519
|
-
onExportEnd(listener: (args:
|
|
519
|
+
onExportEnd(listener: (this: OrgChart, args:
|
|
520
520
|
/**
|
|
521
521
|
* for PDF/PNG
|
|
522
522
|
*/
|
|
@@ -576,7 +576,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
576
576
|
* @category Event Listeners
|
|
577
577
|
* @param listener
|
|
578
578
|
*/
|
|
579
|
-
onNodeClick(listener: (args: {
|
|
579
|
+
onNodeClick(listener: (this: OrgChart, args: {
|
|
580
580
|
/**
|
|
581
581
|
* node JSON object
|
|
582
582
|
*/
|
|
@@ -598,7 +598,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
598
598
|
* @category Event Listeners
|
|
599
599
|
* @param listener
|
|
600
600
|
*/
|
|
601
|
-
onNodeDoubleClick(listener: (args: {
|
|
601
|
+
onNodeDoubleClick(listener: (this: OrgChart, args: {
|
|
602
602
|
/**
|
|
603
603
|
* clicked node data
|
|
604
604
|
*/
|
|
@@ -608,6 +608,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
608
608
|
editUI: OrgChart.editUI;
|
|
609
609
|
searchUI: OrgChart.searchUI;
|
|
610
610
|
nodeMenuUI: OrgChart.menuUI;
|
|
611
|
+
filterUI: OrgChart.filterUI;
|
|
611
612
|
nodeCircleMenuUI: OrgChart.circleMenuUI;
|
|
612
613
|
nodeContextMenuUI: OrgChart.menuUI;
|
|
613
614
|
menuUI: OrgChart.menuUI;
|