setElementview.setElement(element)
If you'd like to apply a Backbone view to a different DOM element, use setElement, which will also create the cached $el
reference and move the view's delegated events from the old element to the new one.
view.setElement

2025-01-10 15:47:30
Please login to continue.