AgnosticRun is a lightweight utility for ensuring a DOM element exists before executing a function in vanilla JavaScript.
-
Updated
Oct 9, 2024 - JavaScript
AgnosticRun is a lightweight utility for ensuring a DOM element exists before executing a function in vanilla JavaScript.
AgnosticHTML: A utility function that safely parses HTML strings into DOM nodes, avoiding the use of innerHTML for security reasons.
Add a description, image, and links to the safe-dom topic page so that developers can more easily learn about it.
To associate your repository with the safe-dom topic, visit your repo's landing page and select "manage topics."