File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
app/ns-ui-widgets-category/tabs/properties Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,13 @@ function createContent(index) {
87
87
stack . verticalAlignment = "middle" ;
88
88
stack . addChild ( label ) ;
89
89
90
+ // Testing the offscreenTabLimit property
90
91
stack . on ( "loaded" , ( args ) => {
91
- console . log ( `Loaded [${ ( args . object ) . getViewById ( "label" ) . text } ] - testing offscreenTabLimit property)` )
92
+ console . log ( `>>> Loaded [${ ( args . object ) . getViewById ( "label" ) . text } ]` ) ;
93
+ } ) ;
94
+
95
+ stack . on ( "unloaded" , ( args ) => {
96
+ console . log ( `>>> Unloaded [${ ( args . object ) . getViewById ( "label" ) . text } ]` ) ;
92
97
} ) ;
93
98
94
99
return stack ;
Original file line number Diff line number Diff line change @@ -82,11 +82,11 @@ function createContent(index: number) {
82
82
stack . addChild ( label ) ;
83
83
84
84
stack . on ( "loaded" , ( args ) => {
85
- console . log ( `Loaded [${ ( < any > args . object ) . getViewById ( "label" ) . text } ]` )
85
+ console . log ( `Loaded [${ ( < any > args . object ) . getViewById ( "label" ) . text } ]` ) ;
86
86
} )
87
87
88
88
stack . on ( "unloaded" , ( args ) => {
89
- console . log ( `UNLOADED [${ ( < any > args . object ) . getViewById ( "label" ) . text } ]` )
89
+ console . log ( `UNLOADED [${ ( < any > args . object ) . getViewById ( "label" ) . text } ]` ) ;
90
90
} )
91
91
92
92
return stack ;
You can’t perform that action at this time.
0 commit comments