SheetXL - v1.0.2
    Preparing search index...

    Interface Definition<T>

    What create makes a kind from.

    interface Definition<T extends IRichData = IRichData> {
        displayProperty?: string | null;
        label?: string;
        meta?: IRichMeta | null;
        name: string;
        properties?: readonly Property[];
        fromJSON(json: JSON, ctx: IRichDataKind.Context): T;
    }

    Type Parameters

    • T extends IRichData = IRichData
    Index
    displayProperty?: string | null

    {@inheritDoc IRichType.getDisplayProperty}

    label?: string

    {@inheritDoc IRichType.getLabel}

    meta?: IRichMeta | null

    {@inheritDoc IRichType.getMeta}

    name: string

    {@inheritDoc IRichType.getName}

    properties?: readonly Property[]

    {@inheritDoc IRichType.getProperties}

    • A value from its JSON, as IRichData.toJSON wrote it.

      Parameters

      • json: JSON
      • ctx: IRichDataKind.Context

        What the value is being made for. Every value is made here, whether it is loaded, written with setValue, or returned by a function. { type } alone asks for the kind's default value, which is what a UI inserts.

      Returns T