fix(prerender): router compatible with prerender

This commit is contained in:
Manu Mtz.-Almeida
2018-04-24 22:33:19 +02:00
parent 053c375521
commit 9c7b0ca15f
9 changed files with 2045 additions and 2013 deletions

View File

@ -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.