fix(overlay): expose "animated" API

fixes #14775
This commit is contained in:
Manu Mtz.-Almeida
2018-08-26 18:52:22 +02:00
parent 771857b1df
commit 8b768fb73d
34 changed files with 122 additions and 123 deletions

View File

@ -71,7 +71,7 @@ export class Toast implements OverlayInterface {
/**
* The position of the toast on the screen. Possible values: "top", "middle", "bottom".
*/
@Prop() position?: string;
@Prop() position?: 'top' | 'bottom';
/**
* If true, the close button will be displayed. Defaults to `false`.
@ -86,7 +86,7 @@ export class Toast implements OverlayInterface {
/**
* If true, the toast will animate. Defaults to `true`.
*/
@Prop() willAnimate = true;
@Prop() animated = true;
/**
* Emitted after the toast has loaded.