(e)
| 2428 | }); |
| 2429 | |
| 2430 | function onMouseMove(e) { |
| 2431 | if (!currentResizer || !headerCell || !colClass) return; |
| 2432 | |
| 2433 | const diff = e.pageX - startX; |
| 2434 | const newWidth = Math.max(40, startWidth + diff); |
| 2435 | |
| 2436 | table.style.setProperty('--col-' + colClass + '-width', newWidth + 'px'); |
| 2437 | |
| 2438 | if (colClass === 'data') { |
| 2439 | const dataCells = table.querySelectorAll('.col-data'); |
| 2440 | dataCells.forEach(cell => { |
| 2441 | cell.style.flex = 'none'; |
| 2442 | }); |
| 2443 | } |
| 2444 | } |
| 2445 | |
| 2446 | function onMouseUp() { |
| 2447 | if (currentResizer) { |
nothing calls this directly
no outgoing calls
no test coverage detected