mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
Some DOM abstractions
This commit is contained in:
@ -3,20 +3,21 @@ 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, {
|
||||
|
Reference in New Issue
Block a user