
You can customize the component’s elements such as attributes, class names by using subclass of Ember.A component in the JavaScript.
The following table lists down the different types of customizing a component’s element −
S.No. | Component Element & Description |
---|---|
1 | Customizing Element Customize the element by using Ember.Component subclass and set the tagName property to it. |
2 | Customizing Element’s Class Customize the element’s class at the invocation time i.e. while calling the clas name. |
3 | Customizing Attributes You can customize the attributes by binding them to a DOM element by using the attributeBindings property. |
Previous Page:-Click Here
Pingback: EmberJS - Components - Adglob Infosystem Pvt Ltd