royriojas

royriojas/dom-add-class

Add class using classList if present or using className when not

JavaScript
0
0
MIT License

This project provides a utility for adding CSS classes to DOM elements, supporting both modern `classList` and legacy `className` approaches for compatibility. It is designed for developers working on JavaScript projects that need to dynamically manage CSS classes across multiple elements, particularly in environments where browser support varies.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

royriojas's profile
royriojas
6 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet