mooball
    Preparing search index...

    Interface Variable

    interface Variable {
        description?: string;
        name: string;
        range?: { max?: number; min?: number; step?: number };
        type?: VariableType;
        value: any;
    }
    Index

    Properties

    description?: string

    A detailed description of this variable.

    name: string

    The name of this variable.

    range?: { max?: number; min?: number; step?: number }

    The possible range of this variable's value. Should only be applied to numbers(literally) and maybe strings(for min and max length of the string).

    Type Declaration

    • Optionalmax?: number

      The maximum value for this variable.

    • Optionalmin?: number

      The minimum value for this variable.

    • Optionalstep?: number

      The step increment/decrement for this variable. (for easy increment/decrement via a spinbox)

    Type of this variable.

    value: any

    The current value of this variable.