Turns on the ellipsis functionality.
The enableEllipsis()
function turns on the ellipsis functionality. The collapsible text displays the introductory text until a site visitor performs an action to read more and display the remaining text. The introductory text is accompanied by an ellipsis to signal to the site visitor that there is additional text.
Turning on the ellipsis functionality
sets the ellipsisEnabled
property to true
.
The ellipsis functionality is turned on by default.