I just want to make certain I understand what I think the 5.2.0 documentation is telling me:
stopPropagation
New in: 5.2.0 Optional. Set to “always” to always stop event propagation even if there are no corresponding actions to invoke, “never” to never stop event propagation, or the default value “onaction” with which event propagation is only stopped if there are corresponding actions that are invoked.
https://tiddlywiki.com/#EventCatcherWidget
My intention is to stop clicks leaving a div with class “sv-fields-editor”:
<$eventcatcher selector=".sv-fields-editor" $click="" stopPropagation="always">
<div class="sv-fields-editor">
... text, bunch of inputs and buttons ...
</div>
</$eventcatcher>
This works fine – major leap forward here!
However, I was wondering what to do with the $click attribute:
– is an empty string okay for the $click actions?
– what about just $click with no value?
Both work – but what’s best?