Skip to content

add vanilla-js examples

Compare
Choose a tag to compare
@rick-liruixin rick-liruixin released this 28 Jun 08:42
· 6 commits to develop since this release
b198f3c
<script type="module">
  // https://cdn.jsdelivr.net/gh/rick-liruixin/body-scroll-lock-upgrade@v1.0.3.1/lib/index.esm.js
  // https://cdn.jsdelivr.net/gh/rick-liruixin/body-scroll-lock-upgrade@v1.0.3.1/lib/index.esm.js.map

  import {
    clearAllBodyScrollLocks,
    disableBodyScroll,
    enableBodyScroll,
  } from "https://cdn.jsdelivr.net/gh/rick-liruixin/body-scroll-lock-upgrade@v1.0.3.1/lib/index.esm.js";

</script>