Gathering detailed insights and metrics for onedionys-dom-manipulation-helpers
Gathering detailed insights and metrics for onedionys-dom-manipulation-helpers
Auxiliary functions for manipulating DOM elements such as adding, deleting, or updating elements.
npm install onedionys-dom-manipulation-helpers
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
10,318
Last Day
1
Last Week
8
Last Month
16
Last Year
10,318
MIT License
6 Stars
13 Commits
1 Watchers
1 Branches
1 Contributors
Updated on May 07, 2024
Latest Version
5.0.0
Package Id
onedionys-dom-manipulation-helpers@5.0.0
Unpacked Size
14.66 kB
Size
4.72 kB
File Count
6
NPM Version
10.5.0
Node Version
20.11.1
Published on
Mar 31, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
300%
8
Compared to previous week
Last Month
-23.8%
16
Compared to previous month
Last Year
0%
10,318
Compared to previous year
133
Auxiliary functions for manipulating DOM elements such as adding, deleting, or updating elements. 💖
Web Browser
- Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].Internet
- Because many use CDN and to make it easier to find solutions to all problems.1// Import the functions 2const { addClass, removeClass, toggleClass } = require('./src/domManipulationHelpers'); 3 4// Example usage 5const element = document.getElementById('myElement'); 6 7// Add a class 8addClass(element, 'highlight'); 9 10// Remove a class 11removeClass(element, 'highlight'); 12 13// Toggle a class 14toggleClass(element, 'active');
addClass(element, className)
: Adds a CSS class to the specified element.removeClass(element, className)
: Removes a CSS class from the specified element.toggleClass(element, className)
: Toggles a CSS class on the specified element.Love One Dionys - DOM Manipulation Helpers? Support this project by donating or sharing with others in need.
Made with ❤️ One Dionys
No vulnerabilities found.
No security vulnerabilities found.