Abstract
Echo.Sync.TextArea
, Echo.Sync.TextField
Class Field Summary | |
---|---|
Internal | _supportedPartialProperties Array containing properties that may be updated without full re-render. |
Instance Method Summary | |
---|---|
Public, Virtual | sanitizeInput() Invoked to ensure that input meets requirements of text field. |
Internal | _renderStyle() Renders style information: colors, borders, font, insets, etc. |
Internal | _addEventHandlers() Registers event handlers on the text component. |
Internal | _adjustPercentWidth() Reduces a percentage width by a number of pixels based on the container size. |
Internal | _processBlur() Processes a focus blur event. |
Internal | _processClick() Processes a mouse click event. |
Internal | _processFocus() Processes a focus event. |
Internal | _processKeyPress() Processes a key press event. |
Internal | _processKeyUp() Processes a key up event. |
Internal | _processRestrictionsClear() Event listener to process input after client input restrictions have been cleared. |
Public | renderAddToParent() Adds the input element to its parent in the DOM. |
Public | renderDisplay() |
Public | renderDispose() |
Public | renderFocus() |
Public | renderUpdate() |
Internal | _storeValue() Stores the current value of the input field, if the client will allow it. |
Methods inherited from class Echo.Render.ComponentSync |
renderAdd , renderDispose , renderUpdate |
percentValue
(Number)
- the percent spanreducePixels
(Number)
- the number of pixels by which the percent span should be reducedcontainerPixels
(Number)
- the size of the container elementparentElement
- the parent elementkeyEvent
- the user keyboard event which triggered the value storage request (optional)