Lambda-IT / parlamentsdienste-components

StencilJs Component Library
MIT License
2 stars 1 forks source link

PdTable event #266

Closed d3orn closed 5 months ago

d3orn commented 1 year ago

Pd-table event should have the original event as a field in details -> we can use the original event to check for middlemouse click and so on

tom-wenger commented 11 months ago

For that case i need to change the event from onClick to onMouseUp because onClick is always a left click. Do you see any problems changing that behavior to onMouseUp? For example it would be possible to drag into the table and with a mouse relief the event would fire...

tom-wenger commented 8 months ago

As released in 3.0.2 i added onAuxClick to pdTable-rows and added the original pointerevent to the emitted details. Could you test that, is it ok?