refactor(all): data -> componentProps

This commit is contained in:
Manu Mtz.-Almeida
2018-03-29 18:18:02 +02:00
parent ce500858fe
commit a36913e9db
17 changed files with 115 additions and 119 deletions

View File

@ -54,7 +54,7 @@ export class Loading implements OverlayInterface {
* Additional classes to apply for custom CSS. If multiple classes are
* provided they should be separated by spaces.
*/
@Prop() cssClass: string;
@Prop() cssClass: string | string[];
/**
* If true, the loading indicator will dismiss when the page changes. Defaults to `false`.
@ -222,7 +222,7 @@ export class Loading implements OverlayInterface {
export interface LoadingOptions {
spinner?: string;
content?: string;
cssClass?: string;
cssClass?: string | string[];
showBackdrop?: boolean;
dismissOnPageChange?: boolean;
duration?: number;