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

what about avoiding jquery #136

Open
hektr opened this issue Apr 14, 2018 · 2 comments
Open

what about avoiding jquery #136

hektr opened this issue Apr 14, 2018 · 2 comments

Comments

@hektr
Copy link

hektr commented Apr 14, 2018

It would be nice to use native DOM/js without jquery. For example, for viewport detecting, you can use document.documentElement.clientWidth ( https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth ) instead of $(window).width()

You can also select elements using document.querySelector(selector) https://developer.mozilla.org/ru/docs/Web/API/Document/querySelector

May be, it's possible to improve this framework for using it without jquery.
Thanks

@ghost
Copy link

ghost commented Jul 22, 2018

Yes, avoid.

@izatop
Copy link

izatop commented Aug 1, 2018

Just do it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants