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

    Interface InspectorField

    Definition of a single configurable field inside the Gadget Inspector.

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

    Properties

    label?: string
    max?: number
    min?: number
    options?: string[] | Record<string, string | number>
    path?: string
    step?: number
    type: "string" | "number" | "boolean" | "choice"