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()
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…