mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(toast): update toast interface to include buttons
This commit is contained in:
@ -5,6 +5,7 @@ export interface ToastOptions {
|
|||||||
message?: string;
|
message?: string;
|
||||||
cssClass?: string | string[];
|
cssClass?: string | string[];
|
||||||
duration?: number;
|
duration?: number;
|
||||||
|
buttons?: (ToastButton | string)[];
|
||||||
showCloseButton?: boolean;
|
showCloseButton?: boolean;
|
||||||
closeButtonText?: string;
|
closeButtonText?: string;
|
||||||
position?: 'top' | 'bottom' | 'middle';
|
position?: 'top' | 'bottom' | 'middle';
|
||||||
|
Reference in New Issue
Block a user