mbest/knockout.punches

Support for other bindings?

norbiu opened this issue · 3 comments

Will other bindings be supported in the future? Such as if, with and foreach?

{{ foreach: data }} ... {{ /foreach }}

This isn't something that I'm planing to add to the plugin. But you could implement support for this syntax using ko.interpolationMarkup.wrapExpresssion.

I changed my mind. I'll look into adding something like this.

I've added support for this in the master branch using the syntax {{#foreach: data}} ... {{/foreach}}