@masatomakino/pixijs-basic-scrollbar
    Preparing search index...

    Interface StepBarOption

    Step bar options.

    The step bar uses the screen coordinate system according to Pixi.js. Therefore, when the value is incremented, the slider's position moves to the right or down.

    To invert the movement direction, configure as follows:

    • Specify sliderStartPoint and sliderMaxPoint in reverse order.
    • Swap the incrementButton and decrementButton.

    The area for receiving drag operations.

    The slider position corresponding to minValue.

    The slider position corresponding to maxValue.

    Maximum value.

    Minimum value.

    Initial value.

    Step value.

    Slider button.

    Increment button.

    Decrement button.

    Whether the orientation is horizontal.

    Canvas element.

    interface StepBarOption {
        base: Container;
        canvas?: HTMLCanvasElement;
        decrementButton?: Container<ContainerChild>;
        enableMouseWheel?: boolean;
        incrementButton?: Container<ContainerChild>;
        initialValue?: number;
        isHorizontal?: boolean;
        maxValue: number;
        minValue?: number;
        sliderButton?: Container<ContainerChild>;
        sliderMaxPoint: number;
        sliderStartPoint: number;
        step?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    base: Container
    canvas?: HTMLCanvasElement
    decrementButton?: Container<ContainerChild>
    enableMouseWheel?: boolean

    Whether to enable mouse wheel operation.

    true
    
    incrementButton?: Container<ContainerChild>
    initialValue?: number
    isHorizontal?: boolean
    maxValue: number
    minValue?: number
    sliderButton?: Container<ContainerChild>
    sliderMaxPoint: number
    sliderStartPoint: number
    step?: number