Skip to content

CodeLayoutActionsRender

Preview

操作按钮组组件,这个组件用在 CodeLayout 的面板标题栏中,用于面板的额外操作,这里导出这个组件方便你使用。

Props

属性描述类型默认值
actions操作项目定义CodeLayoutActionButton[][]

CodeLayoutActionButton

Panel Action button Type Definition.

属性描述类型默认值
render自己渲染这个按钮的全部内容() => VNode-
icon渲染按钮的图标() => VNode-
text按钮的文字string-
tooltip按钮的鼠标悬浮提示文字string-
tooltipDirection按钮的鼠标悬浮提示弹出方向'left'│'top'│'right'│'bottom'-
onClick按钮点击事件回调() => void-

Released under the MIT License.