UNPKG

tiny-essentials

Version:

Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.

17 lines (11 loc) 870 B
### 🚀 What's New * **✨ Added `TinyLoadingScreen`** — A new, lightweight and fully customizable loading overlay component! * Supports `fadeIn` and `fadeOut` animations with configurable durations. * Displays messages as strings or HTMLElements, with optional HTML rendering. * Can be attached to any container or `document.body` by default. * Exposes a handy `onChange` callback to track loading status: `'none'`, `'fadeIn'`, `'active'`, `'fadeOut'`. * Provides a clean, flexible API for `start`, `update`, and `stop`. ### 📚 Notes * `TinyLoadingScreen` is now included in the official Tiny Essentials suite and fully documented in `TinyLoadingScreen.md`. * Recommended for any UI that requires smooth loading states with professional fade animations. **Full Changelog**: https://github.com/JasminDreasond/Tiny-Essentials/compare/1.22.14...1.23.0