Constructors
Methods
action
- action(options: SnackBarOptions): Promise<any>
Returns Promise<any>
dismiss
- dismiss(): Promise<any>
Returns Promise<any>
showSnack
- showSnack(
options: SnackBarOptions,
): Promise<{ action: SnackBarAction; reason: DismissReasons }> Returns Promise<{ action: SnackBarAction; reason: DismissReasons }>
simple
- simple(
message: string,
textColor?: string,
backgroundColor?: string,
maxLines?: number,
isRTL?: boolean,
): Promise<any> Parameters
- message: string
Optional
textColor: stringOptional
backgroundColor: stringOptional
maxLines: numberOptional
isRTL: boolean
Returns Promise<any>
Show a SnackBar with Action