I somehow need capture method to catch triggered events, but ($event) in template is triggered in bubbling method by default. Is there somewhere to change it?
Currently this can only be done adding event handlers imperatively.
There are plans though to support that in the future
See
One workaround is to use the naive approach and add an event listener in your component's constructor.
Then add 'true' as the 3rd parameter to achieve event capturing.
constructor() {
document.addEventListener('click', (event) => {
console.log(event);
}, true);
}
Tip: use the fat arrow function to reference the correct 'this'