Class: SC.TextFieldSupport

Defined in: text_field_support.js

Class Methods

Class Method Detail

$input()
didCreateLayer()
domValueDidChange(jquery)
Parameters:
jquery
focusIn(event)
Parameters:
event
focusOut(event)
Parameters:
event
keyUp(event)
Parameters:
event
touchEnd(evt)
Parameters:
evt
touchStart(evt)
Parameters:
evt
value(key, value)

The problem this property is trying to solve is twofold:

  1. Make it possible to set the value of a text field that has not yet been inserted into the DOM
  2. Make sure that value properly reflects changes made directly to the element's value property.

In order to achieve (2), we need to make the property volatile, so that SproutCore will call the getter no matter what if get() is called.

In order to achieve (1), we need to store a local cache of the value, so that SproutCore can set the proper value as soon as the underlying DOM element is created.

Parameters:
key
value
willDestroyLayerMixin()
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)