File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,9 @@ class ToastCmp {
158
158
}
159
159
160
160
// if there's a `duration` set, automatically dismiss.
161
- this . dismissTimeout = setTimeout ( ( ) => this . dismiss ( 'backdrop' ) , this . d . duration ? this . d . duration : 3000 )
161
+ this . dismissTimeout = setTimeout ( ( ) =>
162
+ this . dismiss ( 'backdrop' ) ,
163
+ this . d . duration ? this . d . duration : 3000 ) ;
162
164
}
163
165
164
166
click ( button , dismissDelay ?) {
@@ -197,7 +199,7 @@ export interface ToastOptions {
197
199
title ?: string ;
198
200
cssClass ?: string ;
199
201
buttons ?: Array < any > ;
200
- duration ?: number ,
202
+ duration ?: number ;
201
203
showCloseButton ?: boolean ;
202
204
closeButtonText ?: string ;
203
205
enableBackdropDismiss ?: boolean ;
@@ -237,7 +239,7 @@ class ToastMdSlideIn extends Transition {
237
239
238
240
backdrop . fromTo ( 'opacity' , 0 , 0 ) ;
239
241
wrapper . fromTo ( 'translateY' , '100%' , '0%' ) ;
240
- this . easing ( 'cubic-bezier(.36,.66,.04,1)' ) . duration ( 400 ) . add ( backdrop ) . add ( wrapper )
242
+ this . easing ( 'cubic-bezier(.36,.66,.04,1)' ) . duration ( 400 ) . add ( backdrop ) . add ( wrapper ) ;
241
243
}
242
244
}
243
245
You can’t perform that action at this time.
0 commit comments