Hey,
is there some option for funning code if user clicked outside an element? Something like @clickOutside.
I think it would be really useful, for example for closing modals.
For this you should be able to use the .away modifier. Eg. @click.away
@piotrpog have you had any more issues with this?
Hi guys. Gonna close this since @HugoDF provided an answer. If you've got any problems @piotrpog, please open another issue.
Most helpful comment
For this you should be able to use the
.awaymodifier. Eg.@click.away