I am trying to get element in Aura. Actually I have made a functionality in VF and now I want to move the same functionality to Aura.
In VF I use document.getElementsByClassName('chart'); which give me this [object HTMLCollection] as a result.
for achieving the same functionality in Aura I use component.find("chart").getElement(); which give me a proxy Object which looks like isSecureElement: [object HTMLCanvasElement]{ key: {"namespace":"c"} }
My Question is how to extract [object HTMLCanvasElement] from above proxy object as I need to pass this element to a third party library.
Can anyone suggest me any idea