@mendix/extensions-api - v0.9.0
    Preparing search index...

    Interface WidgetValueType

    An element is part of a Mendix model and all elements together form the logic of the model. Elements may contain other elements. An element always has a container element, which is its parent. The root of an element tree is always a unit.

    interface WidgetValueType {
        $CreationOptions?: unknown;
        $ID: string;
        $Type: "CustomWidgets$WidgetValueType";
        $UnitID?: string;
        actionVariables: WidgetActionVariable[];
        allowNonPersistableEntities: boolean;
        allowUpload: boolean;
        associationTypes: CustomWidgetAssociationType[];
        attributeTypes: CustomWidgetAttributeType[];
        dataSourceProperty: string;
        defaultType: DefaultTypeEnum;
        defaultValue: string;
        entityProperty: string;
        enumerationValues: WidgetEnumerationValue[];
        isLinked: boolean;
        isList: boolean;
        isMetaData: boolean;
        isPath: IsPath;
        multiline: boolean;
        objectType: null | WidgetObjectType;
        onChangeProperty: string;
        parameterIsList: boolean;
        pathType: PathType;
        required: boolean;
        returnType: null | WidgetReturnType;
        selectableObjectsProperty: string;
        selectionTypes: CustomWidgetSelectionType[];
        setLabel: boolean;
        translations: WidgetTranslation[];
        type: WidgetValueTypeEnum;
        addWidgetActionVariable(): Promise<WidgetActionVariable>;
        addWidgetEnumerationValue(): Promise<WidgetEnumerationValue>;
        addWidgetTranslation(): Promise<WidgetTranslation>;
        delete(): void;
        getContainer(): WidgetPropertyType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    $CreationOptions?: unknown

    Options to pass during the element creation

    $ID: string

    The unique id of the element.

    $Type: "CustomWidgets$WidgetValueType"

    The type of the element.

    $UnitID?: string
    actionVariables: WidgetActionVariable[]
    allowNonPersistableEntities: boolean
    allowUpload: boolean
    associationTypes: CustomWidgetAssociationType[]
    attributeTypes: CustomWidgetAttributeType[]
    dataSourceProperty: string
    defaultType: DefaultTypeEnum
    defaultValue: string
    entityProperty: string
    enumerationValues: WidgetEnumerationValue[]
    isLinked: boolean
    isList: boolean
    isMetaData: boolean
    isPath: IsPath
    multiline: boolean
    objectType: null | WidgetObjectType
    onChangeProperty: string
    parameterIsList: boolean
    pathType: PathType
    required: boolean
    returnType: null | WidgetReturnType
    selectableObjectsProperty: string
    selectionTypes: CustomWidgetSelectionType[]
    setLabel: boolean
    translations: WidgetTranslation[]

    Methods

    • Returns void