mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
27 lines
756 B
JavaScript
27 lines
756 B
JavaScript
// HACKYFILLS (hack + polyfill)
|
|
import {NgElement, ViewContainer} from 'angular2/angular2'
|
|
Object.defineProperties(NgElement.prototype, {
|
|
domElement: {
|
|
get: function() {
|
|
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/webview/webview'
|
|
export * from 'ionic/webview/cordova/cordova'
|
|
export * from 'ionic/webview/node-webkit/node-webkit'
|
|
export * from 'ionic/util/focus'
|
|
export * from 'ionic/collide/animation'
|