Views will help you to translate low-level browser events into semantic events. These semantic events will allow the Ember router to adjust your application into the proper state. Views can be created and destroyed at render time as well as during the run loop of your application. The
Ember.View class includes a variety of properties for creating different types of views. A few of the common ones that you could use are as follows:
tagName: The default HTML tag is
div, but it can be changed using
classNames: Sets the HTML class attribute with the provided array of strings.
classNameBindings: Sets the HTML class attribute based on an array of properties for the view. These properties can be computed properties, ...