The documentation is a work in progress.
The ajax function is a bit of a mess and needs to be reworked. Fetch is most likely the better option unless Promises are incorporated.
5 karma · joined December 26, 2017
The documentation is a work in progress.
The ajax function is a bit of a mess and needs to be reworked. Fetch is most likely the better option unless Promises are incorporated.
"Like, is it faster because it uses native dom selection functions?"
Yes, this library is fast because it's based around native dom functions.
"If that's not the case, what kind of groundbreaking work did you do here to achieve the impressive looking benchmarks on the Github page?"
I'm not claiming there's anything "groundbreaking" about this library. I made it to encourage vanillajs development, which I believe to be important.
I had to explicitly set "left: 0"
You are right. fadeIn and fadeOut should have some optional callback for completion.
Things get a little more complex with some of the methods though. For example: .css()
Fetch is only faster on certain browsers. I'm thinking about incorporating it in the future.