This mixin contains client specific code for the Barefoot.View class. Mainly code for view hierarchy restoration and clean up of view zombies is contained.
Barefoot. | This mixin contains client specific code for the Barefoot.View class. |
Functions | |
delegateEventsOnSubviews | Binds all defined events of this view. |
close | Removes a view from the DOM and ensures that all events of the view itself and its subviews are removed too. |
function delegateEventsOnSubviews()
Binds all defined events of this view. In addition, all present subviews are iterated and a recursive call on delegateEventsOnSubviews is done.
This method is a core part of the view object restoration when receiving an already rendered UI from the server.
Binds all defined events of this view.
function delegateEventsOnSubviews()
Removes a view from the DOM and ensures that all events of the view itself and its subviews are removed too.
function close()
Calls the Barefoot.View.Shared.render method of the passed Barefoot.View.
function render( view )