Describe the bug
Adding :c should enable the capture state when adding an event listener and it is not
To Reproduce
Add an event handler like this: <button .click:c="clickHandler">Click Me</button>
And the generated code will not include the option to use capture mode.
Add an event handler like this: <button .click:c1="clickHandler">Click Me</button>
And the generated code WILL include the option to use capture mode and once.
Expected behavior:c should work on its own without the need to use :1.
Describe the bug Adding
:c
should enable the capture state when adding an event listener and it is notTo Reproduce Add an event handler like this:
<button .click:c="clickHandler">Click Me</button>
And the generated code will not include the option to use capture mode.Add an event handler like this:
<button .click:c1="clickHandler">Click Me</button>
And the generated code WILL include the option to use capture mode and once.Expected behavior
:c
should work on its own without the need to use:1
.