Websites v4 docs v5.2.5
    Preparing search index...

    Function useCancelBodyScroll

    • Hook that cancels the body scroll when triggered. Useful for stopping body scroll when modals or sidebars open up.

      Parameters

      • cancelScroll: boolean = false

      Returns void