custom pluggable widget - how to change the structure mode preview

1
Do someone know, if for the structure mode, you can change the way as a custom pluggable widget looks (string from Mendix 9.12)?
asked
1 answers
0

Hi Luca,

 

if this question is still alive:

 

You can implement the function getPreview(...) in the ts-file <widgetname>.editorConfig.ts. If you have generated the skeleton of your widget with the cli, the file should already be there.

In this method, you can define the structure of your preview.

 

Find more information in the Mendix documentation here.

 

Hope that helps!

 

Best,

Holger

answered