mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
feat(toast): add "color" prop (#16100)
This commit also refactors ion-toast, so it uses shadow-dom, this is required since CSS variables does not work well in non-shadow-dom components. fixes #16099
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { AnimationBuilder, SpinnerTypes } from '../../interface';
|
||||
import { AnimationBuilder, Mode, SpinnerTypes } from '../../interface';
|
||||
|
||||
export interface LoadingOptions {
|
||||
spinner?: SpinnerTypes;
|
||||
@ -9,7 +9,7 @@ export interface LoadingOptions {
|
||||
translucent?: boolean;
|
||||
animated?: boolean;
|
||||
|
||||
mode?: string;
|
||||
mode?: Mode;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user