Expand all

ve.ui.MWLazyMultilineTextInputWidget

Extends

Constructor

new ve.ui.MWLazyMultilineTextInputWidget([config]) #

Creates a ve.ui.MWLazyMultilineTextInputWidget object.

This widget is a hack to be used when you are building a UI that potentially contains lots of multi-line text input widgets, such as the template param editor.

It defers the calculation of the auto height until the first focus, as doing this hundreds of times is slow.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Properties:
Name Type Attributes Default Description
autosize boolean optional
false
Source:
Creates a ve.ui.MWLazyMultilineTextInputWidget object.