edit doc

View Render Hooks


viewClassNames - a ClassName Input for adding classNames to 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


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 Object
  • el - the view’s root HTML element. not available in viewClassNames