mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
feat(alert, toast): pass arbitrary HTML attributes to host element (#23891)
resolves #23825
This commit is contained in:
@ -13,6 +13,7 @@ export interface AlertOptions {
|
||||
backdropDismiss?: boolean;
|
||||
translucent?: boolean;
|
||||
animated?: boolean;
|
||||
htmlAttributes?: AlertAttributes;
|
||||
|
||||
mode?: Mode;
|
||||
keyboardClose?: boolean;
|
||||
@ -22,6 +23,8 @@ export interface AlertOptions {
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
||||
export interface AlertAttributes extends JSXBase.HTMLAttributes<HTMLElement> {}
|
||||
|
||||
export interface AlertInput {
|
||||
type?: TextFieldTypes | 'checkbox' | 'radio' | 'textarea';
|
||||
name?: string;
|
||||
|
Reference in New Issue
Block a user