In KnockoutJS, is there any way to add bindings after calling ko.applyBindings
?
Turns out the answer to my question is the same as this one: Can you call ko.applyBindings to bind a partial view?
ko.applyBindings accepts a second parameter, limiting the scope of binding to a specific element within the DOM. So as long as we know where the new bindings are located in the DOM, we can apply them separately afterwards.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With