W3cubDocs

/Ember.js

Ember.TextField Class

PUBLIC

Extends: Ember.Component

Uses: Ember.TextSupport

Defined in: packages/ember-glimmer/lib/components/text_field.js:39

Module: ember-views

The internal class used to create text inputs when the {{input}} helper is used with type of text. See Ember.Templates.helpers.input for usage details.

Layout and LayoutName properties

Because HTML input elements are self closing layout and layoutName properties will not be applied. See Ember.View's layout section for more information.

maxStringpublic

Defined in packages/ember-glimmer/lib/components/text_field.js:154
Available since 1.4.0

The max attribute of input element used with type="number" or type="range".

Default: null

minStringpublic

Defined in packages/ember-glimmer/lib/components/text_field.js:143
Available since 1.4.0

The min attribute of input element used with type="number" or type="range".

Default: null

patternStringpublic

Defined in packages/ember-glimmer/lib/components/text_field.js:133

The pattern attribute of input element.

Default: null

sizeStringpublic

Defined in packages/ember-glimmer/lib/components/text_field.js:123

The size of the text field in characters.

Default: null

typeStringpublic

Defined in packages/ember-glimmer/lib/components/text_field.js:99

The type attribute of the input element.

Default: "text"

valueStringpublic

Defined in packages/ember-glimmer/lib/components/text_field.js:88

The value attribute of the input element. As the user inputs text, this property is updated live.

Default: ""

© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
http://emberjs.com/api/classes/Ember.TextField.html