Interface WScrollOptions

interface WScrollOptions {
    anchor?: null | HTMLElement;
    endStep: number;
    offset: number;
    orient: "vertical" | "horizontal";
    startPosition: number;
    startStep: number;
    syncSize: boolean;
    viewport: number;
    viewportSize: number;
    onScrollX?(this, delta): void;
    onScrollY?(this, delta): void;
}

Properties

anchor?: null | HTMLElement
endStep: number
offset: number
orient: "vertical" | "horizontal"
startPosition: number
startStep: number
syncSize: boolean
viewport: number
viewportSize: number

Methods

  • Parameters

    • this: Widget<HTMLElement>
    • delta: number

    Returns void

  • Parameters

    • this: Widget<HTMLElement>
    • delta: number

    Returns void