@@ -652,7 +652,7 @@ const result = api.isOpen('tab ID');
652652
653653### open
654654
655- triggers 'onChange ', 'onInit ' and 'onOpen' event.
655+ triggers 'onInit ', 'onChange ' and 'onOpen' event.
656656
657657Return value : Promise
658658
@@ -672,7 +672,7 @@ if( api.isOpen('2') == false ){
672672 closable: true ,
673673 iconClass: ' ' ,
674674 panelComponent: < ContactPanel>< / ContactPanel>
675- }).then (()=> {
675+ }).then (({currentDta,instance} )=> {
676676 // do sth here
677677 });
678678}
@@ -696,7 +696,7 @@ const result = api.isSelected('tab ID');
696696
697697### select
698698
699- triggers 'onChange ', 'onInit ' and 'onSelect' event.
699+ triggers 'onInit ', 'onChange ' and 'onSelect' event.
700700
701701Return value : Promise
702702
@@ -708,7 +708,7 @@ Parameters:
708708
709709``` js
710710if ( api .isSelected (' your tab id' ) == false ){
711- api .select (' your tab id' ).then (()=> {
711+ api .select (' your tab id' ).then (({currentDta,instance} )=> {
712712 // do sth here
713713 });
714714}
@@ -717,7 +717,7 @@ if( api.isSelected('your tab id') == false ){
717717
718718### close
719719
720- triggers 'onChange ', 'onInit ' and 'onClose' event.
720+ triggers 'onInit ', 'onChange ' and 'onClose' event.
721721
722722Return value : Promise
723723
@@ -729,7 +729,7 @@ Parameters:
729729
730730``` js
731731if ( api .isOpen (' 2' ) == true ){
732- api .close (' 2' ).then (()=> {
732+ api .close (' 2' ).then (({currentDta,instance} )=> {
733733 // do sth here
734734 });
735735}
@@ -746,7 +746,7 @@ Return value : Promise
746746** Example**
747747
748748``` js
749- api .refresh ().then (()=> {
749+ api .refresh ().then (({currentDta,instance} )=> {
750750 // do sth here
751751});
752752```
0 commit comments