MRTextAreaEntity

MRTextAreaEntity ⇐ MRTextEntity

The text element that is used to represent normal paragraph user-entry text field items one would expect in a web-browser. mr-textarea

Kind: global class
Extends: MRTextEntity

mrTextAreaEntity.MRTextAreaEntity

Kind: instance class of MRTextAreaEntity

new exports.MRTextAreaEntity()

Constructor for the textArea entity component.

mrTextAreaEntity.connected()

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

Kind: instance method of MRTextAreaEntity

mrTextAreaEntity.blur()

Blurs the inputted text value and cursor information

Kind: instance method of MRTextAreaEntity

mrTextAreaEntity.focus()

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

Kind: instance method of MRTextAreaEntity

mrTextAreaEntity.updateCursorPosition()

Updates the cursor position based on click and selection location.

Kind: instance method of MRTextAreaEntity