Im trying to create a range input that displays a tooltip right above the slider thumb.
I went through some vanilla JS examples online and it seems that I need to have the width of the element to acomplish that.
So I was just wondering how to get the elements width?
Pretty much the equivalent of the JQuery method $(element).width()