Experimenting with lifecycle events

This commit is contained in:
Max Lynch
2015-06-01 17:18:02 -05:00
parent 6af06138ac
commit b7747d1620
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,8 @@
export class Lifecycle {
static viewLoaded(component) {
component.viewLoaded && component.viewLoaded();
}
static viewWillShow(component) {
component.viewWillShow && component.viewWillShow();
}
}