feat(loading): add setContent function

This commit is contained in:
Stone C. Lasley
2016-08-12 18:20:34 -06:00
parent 0579bbafc9
commit c750847df1
2 changed files with 10 additions and 2 deletions

View File

@ -36,6 +36,14 @@ export class Loading extends ViewController {
return this._nav && this._nav.config.get(key); return this._nav && this._nav.config.get(key);
} }
/**
* @param {string} content loading message content
*/
setContent(content: string) {
this.data.content = content;
}
/** /**
* Present the loading instance. * Present the loading instance.
* *

View File

@ -79,9 +79,9 @@ export class ViewController {
didUnload: EventEmitter<any>; didUnload: EventEmitter<any>;
/** /**
* @private * @protected
*/ */
data: any; protected data: any;
/** /**
* @private * @private