TextSupport.isView

isViewBooleanprivatestatic Defined in packages/ember-views/lib/mixins/template_support.js:9 Default: true

TextSupport#templateName

templateNameStringprivate Defined in packages/ember-views/lib/mixins/template_support.js:22 The name of the template to lookup if no template is provided. By default Ember.View will lookup a template with this name in Ember.TEMPLATES (a shared global object). Default: null

TextSupport#template

templateFunctionprivate Defined in packages/ember-views/lib/mixins/template_support.js:48 The template used to render the view. This should be a function that accepts an optional context parameter and returns a string of HTML that will be inserted into the DOM relative to its parent view. In general, you should set the templateName property instead of setting the template yourself.

TextSupport#layoutName

layoutNameStringprivate Defined in packages/ember-views/lib/mixins/template_support.js:35 The name of the layout to lookup if no layout is provided. By default Ember.View will lookup a template with this name in Ember.TEMPLATES (a shared global object). Default: null

TextSupport#onEvent

onEventStringprivate Defined in packages/ember-views/lib/mixins/text_support.js:157 The event that should send the action. Options are: enter: the user pressed enter keyPress: the user pressed a key Default: enter

TextSupport#keyUp()

keyUp (event) private Defined in packages/ember-views/lib/mixins/text_support.js:294 Allows you to specify a controller action to invoke when a key-up event is fired. To use this method, give your field a key-up 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 key-up attribute, please reference the example near the top of this file. Parameters: event Event

TextSupport#keyPress()

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

TextSupport#layout

layoutFunctionprivate Defined in packages/ember-views/lib/mixins/template_support.js:73 A view may contain a layout. A layout is a regular template but supersedes the template property during rendering. It is the responsibility of the layout template to retrieve the template property from the view (or alternatively, call Handlebars.helpers.yield, {{yield}}) to render it in the correct location. This is useful for a view that has a shared wrapper, but which delegates the rendering of the con

TextSupport#insertNewline()

insertNewline (event) private Defined in packages/ember-views/lib/mixins/text_support.js:206 Allows you to specify a controller action to invoke when either the enter key is pressed or, in the case of the field being a textarea, when a newline is inserted. To use this method, give your field an insert-newline 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 insert-newline attribute, please re

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