Angular2 get css property
<p>How can I get css properties from a ElementRef element?
I've tried to use <code>element.style</code> but all the properties are empty.
The Renderer class has <code>this.renderer.setElementStyle</code> method but there is no <code>this.renderer.getElementStyle</code> method.</p>