@yesstudio/nuxt-composables
    Preparing search index...

    Interface UseWindowScroll

    Represents the scroll position of a window.

    interface UseWindowScroll {
        x: Readonly<Ref<number>>;
        y: Readonly<Ref<number>>;
    }
    Index

    Properties

    x y

    Properties

    x: Readonly<Ref<number>>

    A readonly reference to the window's horizontal scroll position.

    y: Readonly<Ref<number>>

    A readonly reference to the window's vertical scroll position.