EmberJS - Input Helpers



The common form controls can be created by using the {{input}} and {{textarea}} helpers in Ember.js. The {{input}} helper uses the built-in Ember.TextField, Ember.Checkbox classes and the {{textarea}} uses Ember.TextArea class.

The following table lists down the input helpers of Ember.js −

S.No. Helpers & Description
1 Text Fields

It provides an input field which allows users to enter the data.

2 CheckBoxes

It is a square box in which a user can toggle on and off, i.e., allows to select between one of two possible options.

3 Text Areas

It is a multi-line text form field where a user can enter unlimited number of characters.

emberjs_template.htm
Advertisements