I am using knockoutJS as the MVVM client environment.
Sometimes I create temporary view models (via js functions) and assign them to dynamic DOM loads.
When, for example, the comment panel for some content is no longer needed, I remove the comment comments panel from the DOM. What happens to the variable that was used as the view model when I called applyBindings with the DOM element parameter? Is it somehow arranged? Or am I responsible for this? If so, how to do it?
source
share