mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
@ -22,8 +22,8 @@ export class ToastController implements OverlayController {
|
||||
* Dismiss the open toast overlay.
|
||||
*/
|
||||
@Method()
|
||||
dismiss(data?: any, role?: string, toastId?: number) {
|
||||
return dismissOverlay(this.doc, data, role, 'ion-toast', toastId);
|
||||
dismiss(data?: any, role?: string, id?: string) {
|
||||
return dismissOverlay(this.doc, data, role, 'ion-toast', id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user