Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Use getBoundingClientRect() where available #2

Open
jameswragg opened this issue Mar 4, 2014 · 0 comments
Open

Use getBoundingClientRect() where available #2

jameswragg opened this issue Mar 4, 2014 · 0 comments
Assignees

Comments

@jameswragg
Copy link
Contributor

Use getBoundingClientRect().width where available (modern browsers) fallback to offsetWidth.

@jameswragg jameswragg self-assigned this Mar 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant