StandWithUkraine
StandWithUkraine copied to clipboard
Feature suggestion: Javascript DOM & NPM installable
This could be made into a nice HTML/JS/CSS widget and made injectable into DOM via native Javascript.
Being able to install via NPM would be sweet, like so:
npm i standwithukraine
For injecting the SVG into the DOM, something akin to this could work:
document.getElementById('container').insertAdjacentHTML('beforeend', '<object data="banner2.svg" height="auto" width="100%" />');
Just an idea:
I am not well versed in setting up an NPM package.