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.

22 lines (13 loc) 728 B
### ✨ What’s New * Added support for **custom default CSS display values** in `TinyHtml`. * You can now control how elements behave with CSS transitions and effects (like `fadeTo`) by setting the default display value. ### 🛠️ Usage ```js // Set element's default display CSS newBox.mainDisplay = 'block'; // Set TinyHtml’s global default display CSS TinyHtml.defaultDisplay = 'block'; ``` ### 🎯 Why This Matters This gives you **fine-grained control** over how elements appear and disappear, especially with animations or effects. No more unexpected `inline` or `block` defaults messing up your transitions! **Full Changelog**: https://github.com/JasminDreasond/Tiny-Essentials/compare/1.22.13...1.22.14