EmberJS-Customizing a Component's Element



Customizing a Component's Element

You can also customize Ember.js components. This can be done by creating the Ember.Component subclass by including its attributes and class names.

The following table lists down the customizing properties of components −

S.N.Customizing Component & Description
1

Customizing the Element

It customizes the HTML tag name as per developer needs.

2

Customizing Class Names

It customizes the HTML tag's class name as per developer needs.

3

Customizing Attributes

You can bind attributes to the DOM element by using attributeBindings.

Advertisements