Hi Harbs,
I did something like that lately, but it is not what I wanted to figure out
how to achieve in Royale.
element.addEventListener('click', function(event:Event):Boolean {
event.preventDefault();
return false;
});
By prevent you mean do not propagate actually ?
Thanks, Piotr
pon., 7 sty 2019 o 15:07 Harbs <[email protected]> napisał(a):
> I have a component where I want to prevent the element click event from
> firing from the component under certain conditions.
>
> I’m struggling on how to best accomplish that.
>
> Harbs
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*