table-add-column 表格添加列
给表格添加列
使用方法
- 引入组件
ts
import { TableAddColumnMenu } from '@kaitify/vue'
- 在
Wrapper
包裹器插槽中使用
html
<Wrapper v-model="content">
<template #before>
<TableAddColumnMenu />
</template>
</Wrapper>
Props 参数
disabled boolean
是否禁用该菜单,默认为 false
type 'left' | 'right'
在当前光标所在列的左侧还是右侧添加列
shortcut (e: KeyboardEvent) => boolean
菜单快捷键实现,继承自 Menu
组件的同名属性,具体使用可参考 Menu 组件的 shortcut