Function customInspectorElement

  • Adds a custom inspector element to the field.

    Type Parameters

    Parameters

    • onElementRequested: (() => T)
        • (): T
        • Returns T

    • OptionalonRefreshElement: ((element: T, value: any) => void)
        • (element, value): void
        • Parameters

          • element: T
          • value: any

          Returns void

    • OptionalisLabelAccessory: boolean

    Returns AttributeDecorator<Attribute>