I'm trying to port some JavaScript Polymer elements to AngularDart.
I need to be able to do the equivalent of this.$.contentContainer.getBoundingClientRect();
(for those who aren't familiar with Polymer that is basically component.getElementById("contentContainer").getBoundingClientRect()
).
I also need to be able to access the host element to do things such as window.getComputedStyle(this).direction
where this
is the host element.
How would things like this usually be done in AngularDart?