Small World Engine API Reference - v0.76.20
    Preparing search index...

    Interface InspectorField

    Definition of a single configurable field inside the Gadget Inspector.

    interface InspectorField {
        label?: string;
        max?: number;
        min?: number;
        options?: Record<string, string | number> | string[];
        path?: string;
        step?: number;
        type: "string" | "number" | "boolean" | "choice";
    }
    Index
    label?: string
    max?: number
    min?: number
    options?: Record<string, string | number> | string[]
    path?: string
    step?: number
    type: "string" | "number" | "boolean" | "choice"