mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
45 lines
1.1 KiB
JavaScript
45 lines
1.1 KiB
JavaScript
// HACKYFILLS (hack + polyfill)
|
|
import {NgElement, ViewContainer} 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(ViewContainer.prototype, {
|
|
domElement: {
|
|
get: function() {
|
|
return this.defaultProtoView.render.delegate.element;
|
|
}
|
|
}
|
|
});
|
|
*/
|
|
|
|
export * from 'ionic/components'
|
|
export * from 'ionic/platform/platform'
|
|
export * from 'ionic/routing/router'
|
|
export * from 'ionic/util/focus'
|
|
|
|
export * from 'ionic/engine/engine'
|
|
export * from 'ionic/engine/cordova/cordova'
|
|
export * from 'ionic/engine/electron/electron'
|
|
|
|
export * from 'ionic/collide/animation'
|
|
export * from 'ionic/transitions/transition'
|
|
export * from 'ionic/transitions/none-transition'
|
|
export * from 'ionic/transitions/ios-transition'
|