From e38e6305271aa81223eec91bbeeabc527fe5cd96 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Fri, 10 Apr 2015 16:09:56 -0500 Subject: [PATCH] todo desc --- src/components/view/view.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/view/view.js b/src/components/view/view.js index 1aa5bdfdbd..7b9b5053b2 100644 --- a/src/components/view/view.js +++ b/src/components/view/view.js @@ -32,7 +32,14 @@ export class View { - /*** HACK HACK HACK!!!!!!!!! *****/ + /*** TODO: MAKE MORE GOOD!! HACK HACK HACK!!!!!!!!! *****/ + /* + Take the toolbar info from this view and view's context + and transplate it to go to it's associated toolbar container + Both ion-nav-view and ion-tabs components provide the toolbar container + Trick is that it's context needs to still be available after the DOM + element was moved to another location. + */ setTimeout(() => { var toolbar = this.domElement.querySelector('ion-toolbar') if (!toolbar) return