Search results

38 packages found

tiny modular DOM lib for ie9+

published version 5.2.1, 4 years ago991 dependents licensed under $MIT
55,461,558

Build a class attribute string quickly.

published version 5.0.5, a year ago184 dependents licensed under $MIT
4,422,735

Yet another classname string builder (the fastest one)

published version 3.1.0, 3 years ago17 dependents licensed under $MIT
246,638

Element#classList for older browsers.

published version 2.0.0, 7 years ago13 dependents licensed under $MIT
25,939

Shims / polyfills for simple DOM API's missing in not-so-modern browsers.

published version 0.1.4, 10 years ago5 dependents licensed under $MIT
3,815

Use multiple values for `classList.add` and `classList.remove` methods.

published version 1.0.1, 8 years ago1 dependents licensed under $MIT
3,573

Add HTML classes to zone elements based on zone state.

published version 1.0.0, 6 years ago0 dependents licensed under $MIT
3,687

The super simple shim for `classList` of HTML and SVG, that transparently intercepts difference between modern browsers and semi-modern browsers.

published version 1.1.10, 4 years ago6 dependents licensed under $MIT
1,271

A super strict shim/polyfill for DOMTokenList

published version 1.2.0, 9 years ago1 dependents licensed under $MIT
998

A simple Element.classList helper that can be curried.

published version 1.1.4, 4 years ago0 dependents licensed under $MIT
105

A simple class list to use in React projects

published version 1.1.2, 4 years ago0 dependents licensed under $ISC
88

React hook that allows modifying class lists easily with css modules.

published version 0.2.1, 7 months ago0 dependents licensed under $MIT
108

A classList-like API that's purely based on reading/writing the class attribute.

published version 2.0.2, 24 days ago0 dependents licensed under $MIT
97

Utilities for creating and merging lists of TailwindCSS classes

published version 1.0.0, 6 years ago1 dependents licensed under $MIT
73

Includes a polyfill for classlist if needed

published version 0.2.0, 6 years ago0 dependents licensed under $MIT
65

jQuery-compatible CSS classes module

published version 0.9.4, 11 years ago1 dependents licensed under $MIT
60

Shengnian Open Source(SOS, 盛年开源) react components

published version 0.7.0, 7 years ago0 dependents licensed under $MIT
50

A tiny (242B) shim when Element.classList cannot be used~!

published version 2.0.0, 6 years ago1 dependents licensed under $MIT
40

A very simple tool to chain classnames together, based on application state.

published version 1.0.2, 9 years ago0 dependents licensed under $MIT
43

A simple JavaScript utility for updating HTML-element's classlist

published version 1.1.2, 5 years ago0 dependents licensed under $MIT
37