eligius
    Preparing search index...

    Interface KeyboardStepSourceConfig

    Configuration for KeyboardStepSource.

    interface KeyboardStepSourceConfig {
        duration: number;
        largeStepSize?: number;
        markers?: number[];
        stepSize?: number;
        targetElement?: string | HTMLElement;
        verticalMode: TVerticalMode;
        wrapNavigation?: boolean;
    }
    Index

    Properties

    duration: number

    Total duration in seconds.

    largeStepSize?: number

    Large step size for Shift+Left/Right arrows in seconds.

    10
    
    markers?: number[]

    Marker positions for chapter navigation mode (in seconds). Will be auto-sorted ascending on init.

    stepSize?: number

    Step size for Left/Right arrows in seconds.

    1
    
    targetElement?: string | HTMLElement

    Target element to scope keyboard bindings. Can be an HTMLElement or a CSS selector string. If not provided, bindings are global (document).

    verticalMode: TVerticalMode

    Vertical axis behavior.

    wrapNavigation?: boolean

    Whether navigation wraps at boundaries.

    true