Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.13.3 source code.tar.gz | 2023-06-21 | 512.2 kB | |
0.13.3 source code.zip | 2023-06-21 | 643.0 kB | |
README.md | 2023-06-21 | 1.2 kB | |
Totals: 3 Items | 1.2 MB | 0 |
This version introduces 4 new features:
-
The custom label provider for the toolbox. By default, the toolbox displays a label of a step from the
name
field. You may override this behaviour and pass own label provider now.:::js const configuration = { toolbox: { labelProvider: (step) =>
** ${step.name} **
, // ... }, // ... }; -
Control the collapse of the toolbox.
:::js const configuration = { toolbox: { isCollapsed: true, // or false // ... }, // ... };
designer.isToolboxCollapsed(); // returns true or false designer.setIsToolboxCollapsed(true);
-
Control the collapse of the editor.
:::js const configuration = { editors: { isCollapsed: true, // or false // ... }, // ... };
designer.isEditorCollapsed(); // returns true or false designer.setIsEditorCollapsed(true);
-
It's possible now to replace the default unique identifier generator by a custom one.
:::js const configuration = { uidGenerator: () => Math.random().toString(), // ... };