PixiDom - v1.0.0
    Preparing search index...

    Type Alias LabelOptions

    Configuration for toggle switch labels.

    type LabelOptions = {
        fontName: string;
        offColor: Color;
        offLabel: string;
        onColor: Color;
        onLabel: string;
    }
    Index

    Properties

    fontName: string

    Name of the bitmap font to use

    offColor: Color

    Color of the OFF label. Accepts any Color format.

    offLabel: string

    Text to display when toggle is OFF

    onColor: Color

    Color of the ON label. Accepts any Color format.

    onLabel: string

    Text to display when toggle is ON