@finsweet/attributes-scrolldisable

1.6.2 • Public • Published

scrolldisable Attribute

Users can prevent the page from scrolling when:

  • An element is clicked.
  • An element is visible on the page.
  • A Nav Menu is open.

CDN Import

<!-- [Attributes by Finsweet] CMS Scroll Disable -->
<script defer src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-scrolldisable@1/scrolldisable.js"></script>

/@finsweet/attributes-scrolldisable/

    Package Sidebar

    Install

    npm i @finsweet/attributes-scrolldisable

    Weekly Downloads

    15

    Version

    1.6.2

    License

    none

    Unpacked Size

    29.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • erikmejias
    • alexiglesias