Indicates whether the ellipsis functionality is turned on.
If ellipsisEnabled
is true
, the ellipsis functionality is turned on. In this case, the ellipsis is visible, and the collapsible text displays the introductory text until a site visitor performs an action to read more and display the remaining text.
Note that the introductory text is accompanied by an ellipsis to signal to the site visitor that there is additional text.
To turn on the ellipsis functionality, use the enableEllipsis()
function. Turning on the ellipsis functionality sets the ellipsisEnabled
property to true
.
If ellipsisEnabled
is false
, the ellipsis functionality is turned off. In this case, the ellipsis is hidden, and the collapsible text displays the full text and acts as a regular text element.
To turn off the ellipsis functionality, use the disableEllipsis()
function. Turning off the ellipsis functionality sets the ellipsisEnabled
property to false
.
The ellipsisEnabled
property defaults to true
.