2 results for “topic:safe-dom”
AgnosticHTML: A utility function that safely parses HTML strings into DOM nodes, avoiding the use of innerHTML for security reasons.
AgnosticRun is a lightweight utility for ensuring a DOM element exists before executing a function in vanilla JavaScript.