Skip to content

Adding cleanNode to Knockout static class #240

dealproc opened this Issue Sep 28, 2012 · 4 comments

3 participants


Apparently, you're able to call :


to remove Knockout bindings from a particular element. This isn't documented on, etc, but many people document it works. We should add this call to KnockoutJS


I just had a quick glance in the code. ko.cleanNode is actually a shorthand for ko.utils.domNodeDisposal.cleanNode. would it be better to expose that object in Knockout.Utils ?


I have the shorthand, but I made a mistake and put it as part of my main repos for this... how do I do a push to just give you those few lines, or do you want me to cut & paste it in a message, and you can just add it to the main repos @nikhilk ???

nikhilk commented Sep 30, 2012

I can copy the lines.

@nikhilk nikhilk closed this in d96257b Sep 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.