Interface IUseScrollLockProps

Hierarchy

Properties

getIsDisabled?: (() => boolean)

Type declaration

    • (): boolean
    • A function that returns a boolean indicating whether the hook should be disabled.

      Returns boolean

isDisabled?: boolean

If true, disables the event listener.