surely-vue / surely-table

Performant advanced table component

Home Page:https://www.surely.cool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lykj-vip: 是否可以在customRow/customCell/customHeaderCell,暴露出mousedown/mouseup事件,我需要能比click更快的操作

web-ning opened this issue · comments

一直都是支持的

onMousedown: () => {
              console.log('mousedown');
            },
            onMouseup: () => {
              console.log('mouseup');
            },

好的,谢谢

export type EditableTrigger = 'click' | 'dblClick' | 'contextmenu';
EditableTrigger可以增加mousedown事件吗

这没必要吧,不明白是啥需求,要用 mousedown 替代 click

加快触发开启编辑的速度, mousedown会比click快一步