View Render Hooks
Hooks
viewClass - a ClassName Input for the root view element. Called whenever the view changes.
viewDidMount - called right after the view has been added to the DOM
viewWillUnmount - called right before the view will be removed from the DOM
Argument
When the above hooks are specified as a function in the form function(arg), the arg is an object with the following properties:
view- a View Objectel- the view’s root HTML element. not available inviewClass