brrd/electron-tabs

Can I customise close button's behaviour?

ruoqianwu opened this issue · 1 comments

Hi,

While I was trying to implement a confirmation dialog for a tab's closing, I realised that I couldn't prevent the tab to be closed by default. I tried to hook into the closing event but still no luck. Is there a way I can customise the behaviour of the close button so that I can let it close only if it is confirmed?

brrd commented

Please read #53