Skip to content

CodeLayoutActionsRender ​

Preview

The operation button group component is used in the panel title bar of CodeLayout for additional panel operations. This component is exported here for your convenience.

Props ​

PropertyDescriptionTypeDefault
actionsAction itemsCodeLayoutActionButton[][]

CodeLayoutActionButton ​

Panel Action button Type Definition.

PropertyDescriptionTypeDefault
renderRender the entire content of this button on your own() => VNode-
iconRender the icon of this button() => VNode-
textText of this buttonstring-
tooltipTooltip text of this buttonstring-
tooltipDirectionThe tooltip direction of the pop-up'left'│'top'│'right'│'bottom'-
onClickButton click event callback() => void-

Released under the MIT License.