AgnosticStyles is a JavaScript utility function that safely applies CSS styles or class changes to a DOM element if it exists. Logs or warns based on customizable debug flags.
css inline-css css-modules vanilla-javascript inline-styles utility-library vanillajs inline-editing dom-events css-utilites tailwind tailwindcss style-manager dom-check agnostic-styles css-utility
-
Updated
Oct 9, 2024 - JavaScript