TextField
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-
maxString
public
The max
attribute of input element used with type="number"
or type="range"
.
Default: null
minString
public
The min
attribute of input element used with type="number"
or type="range"
.
Default: null
patternString
public
The pattern
attribute of input element.
Default: null
sizeString
public
The size
of the text field in characters.
Default: null
typeString
public
The type
attribute of the input element.
Default: "text"
valueString
public
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.
https://emberjs.com/api/classes/Ember.TextField.html