isakhauge / nanosplash Goto Github PK
View Code? Open in Web Editor NEWThe tiny loading screen for web artisans
Home Page: https://isakhauge.github.io/nanosplash/
License: MIT License
The tiny loading screen for web artisans
Home Page: https://isakhauge.github.io/nanosplash/
License: MIT License
TODO: Add custom resizing algorithm for when element is the direct descendant of document.body
Hide splash image element when image src is undefined.
Seems to be originated from a webpack requirement that the default export in package.json
should be listed last.
Default values overwrite the custom ones, or the custom ones are never applied.
Do not throw errors by default. Add an option to do so in the Nanosplash options.
Vite has released 2 major version to speed up build and dev developments
For faster tests and more promising test library
Add animated ellipsis to the text for better loading indication.
Make it possible to have multiple instances of Nanosplash in the browser window.
Make action scripts for the release and production branches.
Both scripts should execute Jest unit testing and build the project without errors, but the script for the release branch should automatically publish the the branch to NPM as a package.
TODO: Don't instantiate multiple full screen instances. Instead, mutate the existing one if any.
Planned feature. Add an option to the API to only show the spinner (i.e. no text).
API usage suggestion. If no text argument passed to the show function, display the spinner only.
ns.show()
ns.show().inside('#myDiv')
Make NS smaller by:
Replace as many JS event listeners as possible with CSS. This will increase actual and percieved performance.
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.