skipEvent()
Prevents the default browser action and stops event propagation.
Example:
ts
button.addEventListener('click', (event) => skipEvent(event));Prevents the default browser action and stops event propagation.
Example:
button.addEventListener('click', (event) => skipEvent(event));