Barefoot.View.Client

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.

See also

Summary
Barefoot.View.ClientThis mixin contains client specific code for the Barefoot.View class.
Functions
delegateEventsOnSubviewsBinds all defined events of this view.
closeRemoves a view from the DOM and ensures that all events of the view itself and its subviews are removed too.

Functions

delegateEventsOnSubviews

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.

close

function close()

Removes a view from the DOM and ensures that all events of the view itself and its subviews are removed too.  Kill aaaaall the zombies, aarrrrrr.

See also

function delegateEventsOnSubviews()
Binds all defined events of this view.
function close()
Removes a view from the DOM and ensures that all events of the view itself and its subviews are removed too.
The barefoot view extends the default backbone view by applying an environment specific mixin to it.
Client specific code for the Barefoot.Router.
function render(view)
Calls the Barefoot.View.Shared.render method of the passed Barefoot.View.
Close