Is it possible to create a Knockout binding binding that does not have the required values?
ko.bindingHandlers['superAction'] = { init: function(...) { }, update: function(...) { } };
For example, the syntax could be:
<span data-bind="superAction"></span>
There is an optional value, so sometimes it can be:
<span data-bind="superAction: myProperty"></span>
I tried only a colon, without a colon ... They all throw exceptions for parsing at runtime.
Wiredprairie
source share