MRTextFieldEntity

MRTextFieldEntity ⇐ MRTextInputEntity

The text element that is used to represent normal user-entry text field items one would expect in a web-browser. Limits the one-line. mr-textfield

Kind: global class
Extends: MRTextInputEntity

mrTextFieldEntity.MRTextFieldEntity

Kind: instance class of MRTextFieldEntity

new exports.MRTextFieldEntity()

Constructor for the textField entity component.

mrTextFieldEntity.createHiddenInputElement()

Kind: instance method of MRTextFieldEntity

mrTextFieldEntity.updateTextDisplay()

Kind: instance method of MRTextFieldEntity

mrTextFieldEntity.handleKeydown(event)

Handles keydown events for scrolling and cursor navigation. Note that this is different than an input event which for our purposes, handles the non-navigation key-presses.

Kind: instance method of MRTextFieldEntity

Param Type Description
event event the keydown event