How to name a variable holding result of getBoundingClientRect()
function for given element. Now I'm always using names like sendButtonBoundingClientRect
or changeFontPanelBoundingClientRect
but with that naming convention names are very long. How do you guys naming it in your projects?
Asked
Active
Viewed 52 times
0

Bodzio
- 2,440
- 2
- 19
- 37
1 Answers
0
You should look at the following guides:
-
Thanks, but this is rather specific case :-) – Bodzio Sep 16 '14 at 11:22
-
There is no specific case, just name it so it would be understandable and meaningful for you and for the next person who will maintain your code (it could be you after 6 month) – Scription Sep 16 '14 at 11:29