mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(item): pass the correct type property to the button tag
fixes #14740
This commit is contained in:
8
core/src/components.d.ts
vendored
8
core/src/components.d.ts
vendored
@ -3299,6 +3299,10 @@ declare global {
|
||||
*/
|
||||
'routerDirection': RouterDirection;
|
||||
'state': 'valid' | 'invalid' | 'focus';
|
||||
/**
|
||||
* The type of the button. Only used when an `onclick` or `button` property is present. Possible values are: `"submit"`, `"reset"` and `"button"`. Default value is: `"button"`
|
||||
*/
|
||||
'type': 'submit' | 'reset' | 'button';
|
||||
}
|
||||
}
|
||||
|
||||
@ -3358,6 +3362,10 @@ declare global {
|
||||
*/
|
||||
'routerDirection'?: RouterDirection;
|
||||
'state'?: 'valid' | 'invalid' | 'focus';
|
||||
/**
|
||||
* The type of the button. Only used when an `onclick` or `button` property is present. Possible values are: `"submit"`, `"reset"` and `"button"`. Default value is: `"button"`
|
||||
*/
|
||||
'type'?: 'submit' | 'reset' | 'button';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user