Expand all

ve.ui.MWExpandableContentElement

Extends

Constructor

new ve.ui.MWExpandableContentElement(config) #

Container for textual elements, which should be collapsed to one line by default.

A "more / less" button is used to toggle additional lines.

Parameters:

Name Type Description
config Object
Properties:
Name Type Description
$content jQuery
Mixes in:
Source:
Container for textual elements, which should be collapsed to one line by default.

Methods

calculateCurrentTextHeight() → {number}private #

getLineHeight() → {number}private #

recalculateVisuals()private #