File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 135135 console . log ( 'ionDidOpen' , e ) ;
136136 } ) ;
137137 window . addEventListener ( 'ionWillClose' , function ( e ) {
138- console . log ( 'ionWillClose' , e . detail ) ;
138+ console . log ( 'ionWillClose' , e ) ;
139139 } ) ;
140140 window . addEventListener ( 'ionDidClose' , function ( e ) {
141- console . log ( 'ionDidClose' , e . detail ) ;
141+ console . log ( 'ionDidClose' , e ) ;
142142 } ) ;
143143
144144 async function openStart ( ) {
Original file line number Diff line number Diff line change 154154 </ div >
155155 </ ion-app >
156156 < script >
157+ window . addEventListener ( 'ionModalDidDismiss' , function ( e ) {
158+ console . log ( 'DidDismiss' , e ) ;
159+ } ) ;
160+ window . addEventListener ( 'ionModalWillDismiss' , function ( e ) {
161+ console . log ( 'WillDismiss' , e ) ;
162+ } ) ;
163+
157164 function createModal ( options ) {
158165 let items = '' ;
159166
You can’t perform that action at this time.
0 commit comments