Skip to main content

How to Adjust Plugin Panel Position

Use the index option to define position. Built-in panels default to 0.

AliLowCodeEngine.skeleton.add({
area: 'leftArea',
type: 'PanelDock',
name: 'xxx',
content: () => 'xxx',
index: -1, // Use index to define position; built-in panels default to 0
props: { icon: () => 'x' /* ReactElement also works */ },
});

Setting index to a negative value moves the panel to the first position.

image.png