mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
that whole nav overhaul thing again
This commit is contained in:
@ -1,32 +1,11 @@
|
||||
// HACKYFILLS (hack + polyfill)
|
||||
import {NgElement, ViewContainerRef} from 'angular2/angular2'
|
||||
|
||||
//import {DomRenderedElement} from 'ionic/util/render/dom';
|
||||
|
||||
/*
|
||||
Object.defineProperties(NgElement.prototype, {
|
||||
renderElement: {
|
||||
get: function() {
|
||||
return new DomRenderedElement(this._view.render.delegate.boundElements[this._boundElementIndex]);
|
||||
}
|
||||
},
|
||||
domElement: {
|
||||
get: function() {
|
||||
console.log('GETTING DOM ELEMENT');
|
||||
return this._view.render.delegate.boundElements[this._boundElementIndex];
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
Object.defineProperties(ViewContainerRef.prototype, {
|
||||
domElement: {
|
||||
get: function() {
|
||||
return this._defaultProtoView.render.delegate.element;
|
||||
}
|
||||
}
|
||||
});
|
||||
// Object.defineProperties(ViewContainerRef.prototype, {
|
||||
// domElement: {
|
||||
// get: function() {
|
||||
// return this._defaultProtoView.render.delegate.element;
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
|
||||
|
||||
export * from 'ionic/components'
|
||||
@ -43,5 +22,4 @@ export * from 'ionic/engine/electron/electron'
|
||||
|
||||
export * from 'ionic/animations/animation'
|
||||
export * from 'ionic/transitions/transition'
|
||||
export * from 'ionic/transitions/none-transition'
|
||||
export * from 'ionic/transitions/ios-transition'
|
||||
|
Reference in New Issue
Block a user