MRTextFieldEntity

MRTextFieldEntity ⇐ MRTextEntity

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: MRTextEntity

mrTextFieldEntity.MRTextFieldEntity

Kind: instance class of MRTextFieldEntity

new exports.MRTextFieldEntity()

Constructor for the textField entity component.

mrTextFieldEntity.connected()

Callback function of MREntity - handles setting up this textfield once it is connected to run as an entity component.

Kind: instance method of MRTextFieldEntity

mrTextFieldEntity.blur()

Blurs the inputted text value and cursor information

Kind: instance method of MRTextFieldEntity

mrTextFieldEntity.focusInput()

Focuses the inputted text value and cursor information as if it is selected. Includes showing the cursor item.

Kind: instance method of MRTextFieldEntity

mrTextFieldEntity.updateCursorPosition()

Updates the cursor position based on click and selection location.

Kind: instance method of MRTextFieldEntity