mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(prerender): router compatible with prerender
This commit is contained in:
@ -88,7 +88,7 @@ export class Button {
|
||||
* Possible values are: `"submit"`, `"reset"` and `"button"`.
|
||||
* Default value is: `"button"`
|
||||
*/
|
||||
@Prop() type = 'button';
|
||||
@Prop() type: 'submit' | 'reset' | 'button' = 'button';
|
||||
|
||||
/**
|
||||
* Emitted when the button has focus.
|
||||
|
Reference in New Issue
Block a user