tokimon / vanillajs-helpers Goto Github PK
View Code? Open in Web Editor NEWCollection of convenience code snippets (helpers) that aims to make it a little easier to work with vanilla JS
License: MIT License
Collection of convenience code snippets (helpers) that aims to make it a little easier to work with vanilla JS
License: MIT License
Appveyor: https://ci.appveyor.com/
Example: https://ci.appveyor.com/project/bcoe/yargs-ljwvf
[...new Set(array)]
is much faster. Especially for large arrays.
Either by using form.elements
or maybe by utilizing the FormData
object
Use requestAnimationFrame to optimize the resize reaction time and with a idle timer (cancelling the polling)
fx. via https://www.bithound.io/
Add a visibility change event and a method to detect document visibility
Add setting to avoid cutting off in the middle of a word.
Optimize by using requestAnimationFrame and by taking idle time into account (cancelling the polling after a certain time)
Store data associated with the element, that is not compatible with the 'data-' attribute.
Tools to look into these tools
Like Tether, but more simple :)
https://github.com/HubSpot/tether/
The geometry.position function should be able to return the position relative to the viewport area. A more intuitive way of getting the various positions is needed.
Maybe grouped properties?
like Drop, but more simple :)
https://github.com/HubSpot/drop/blob/master/src/js/drop.js
Many methods fail, so unit tests should be put into place
Detect:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.