TextSupport#focusOut()

focusOut (event) private Defined in packages/ember-views/lib/mixins/text_support.js:259 Allows you to specify a controller action to invoke when a field loses focus. To use this method, give your field a focus-out attribute. The value of that attribute should be the name of the action in your controller that you wish to invoke. For an example on how to use the focus-out attribute, please reference the example near the top of this file. Parameters: event Event

TextSupport#focusIn()

focusIn (event) private Defined in packages/ember-views/lib/mixins/text_support.js:242 Allows you to specify a controller action to invoke when a field receives focus. To use this method, give your field a focus-in attribute. The value of that attribute should be the name of the action in your controller that you wish to invoke. For an example on how to use the focus-in attribute, please reference the example near the top of this file. Parameters: event Event

TextSupport#cancel()

cancel (event) private Defined in packages/ember-views/lib/mixins/text_support.js:225 Allows you to specify a controller action to invoke when the escape button is pressed. To use this method, give your field an escape-press attribute. The value of that attribute should be the name of the action in your controller that you wish to invoke. For an example on how to use the escape-press attribute, please reference the example near the top of this file. Parameters: event Event

TextSupport#bubbles

bubblesBooleanprivate Defined in packages/ember-views/lib/mixins/text_support.js:172 Whether the keyUp event that triggers an action to be sent continues propagating to other views. By default, when the user presses the return key on their keyboard and the text field has an action set, the action will be sent to the view's controller and the key event will stop propagating. If you would like parent views to receive the keyUp event even after an action has been dispatched, set bubbles to tru

TextSupport#action

actionStringprivate Defined in packages/ember-views/lib/mixins/text_support.js:143 The action to be sent when the user presses the return key. This is similar to the {{action}} helper, but is fired when the user presses the return key when editing a text field, and sends the value of the field as the context. Default: null

TextSupport

Ember.TextSupport Class PRIVATE Extends: Ember.Mixin Uses: Ember.TargetActionSupport Defined in: packages/ember-views/lib/mixins/text_support.js:16 Module: ember-views TextSupport is a shared mixin used by both Ember.TextField and Ember.TextArea. TextSupport adds a number of methods that allow you to specify a controller action to invoke when a certain event is fired on your text field or textarea. The specifed controller action would get the current value of the field passed in as the onl

TextField#value

valueStringpublic Defined in packages/ember-htmlbars/lib/components/text_field.js:89 The value attribute of the input element. As the user inputs text, this property is updated live. Default: ""

TextField#type

typeStringpublic Defined in packages/ember-htmlbars/lib/components/text_field.js:100 The type attribute of the input element. Default: "text"

TextField#size

sizeStringpublic Defined in packages/ember-htmlbars/lib/components/text_field.js:124 The size of the text field in characters. Default: null

TextField#pattern

patternStringpublic Defined in packages/ember-htmlbars/lib/components/text_field.js:134 The pattern attribute of input element. Default: null