File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
js/angular/components/modal Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,12 @@ <h3>Programmatic Modals</h3>
158158 'overlayClose': false,
159159 // Set if the modal should be destroyed once closed
160160 'destroyOnClose': false,
161+ // Set if the modal should have the 'ba-ignore-all-close' attribute
162+ // (presence of key in configuration object will enable adding attribute)
163+ 'ignoreAllClose': '',
164+ // Set if the modal should have the 'ba-advise' attribute
165+ // (presence of key in configuration object will enable adding attribute)
166+ 'advise': '',
161167 // Define a template to use for the modal
162168 'templateUrl': 'partials/examples-dynamic-modal.html',
163169 // Allows you to pass in properties to the scope of the modal
Original file line number Diff line number Diff line change 201201 'overlayClose' ,
202202 'destroyOnClose' ,
203203 'ignoreAllClose' ,
204+ 'advise' ,
204205 'class'
205206 ] ;
206207
326327 case 'ignoreAllClose' :
327328 element . attr ( 'ba-ignore-all-close' , 'ba-ignore-all-close' ) ;
328329 break ;
330+ case 'advise' :
331+ element . attr ( 'ba-advise' , 'ba-advise' ) ;
332+ break ;
329333 case 'class' :
330334 if ( angular . isString ( config [ prop ] ) ) {
331335 config [ prop ] . split ( ' ' ) . forEach ( function ( klass ) {
You can’t perform that action at this time.
0 commit comments