@buckneri/js-lib-dom

Functions for working with the browser DOM

Usage no npm install needed!

<script type="module">
  import buckneriJsLibDom from 'https://cdn.skypack.dev/@buckneri/js-lib-dom';
</script>

README

js-lib-dom

Functions for working with the browser DOM

Install

npm i @buckneri/js-lib-dom

Reference ยท Source

  • aspectRatio (width, height, ratio)
  • deepCopy (original)
  • getJSON (url, callback)
  • pageOffset (element)
  • resetWheel (wheel_event)
  • toNodes (HTML_string, boolean)