The StructurePreviewProps type is used to define the structure of the widget preview. The widget preview is used to visualize the widget in the Mendix Studio Pro and Studio. It can be used to render a custom image, a container, a row layout, text, a drop zone, a selectable object, or a data source. The widget preview can be used to visualize the widget in the Mendix Studio Pro and Studio. It can be used to render a custom image, a container, a row layout, text, a drop zone, a selectable object, or a data source.

interface DropZoneStylingProps {
    grow?: number;
    placeholder?: string;
    showDataSourceHeader?: boolean;
    type: "Image" | "Container" | "RowLayout" | "Text" | "DropZone" | "Selectable" | "Datasource";
}

Hierarchy (view full)

Properties

grow?: number

grow is optional and only takes effect if the current element is a child of a row layout

placeholder?: string

Text to be shown inside the dropzone when empty

showDataSourceHeader?: boolean

true by default. Toggles whether to show a header containing information about the datasource

type: "Image" | "Container" | "RowLayout" | "Text" | "DropZone" | "Selectable" | "Datasource"

The type of the preview element

Generated using TypeDoc