Search...
enableEllipsis( )
Turns on the ellipsis functionality.
Description
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.
Syntax
function enableEllipsis(): void
enableEllipsis Parameters
This function does not take any parameters.
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
Enable the ellipsis functionality
Copy Code
1$w('#myCollapsibleText').enableEllipsis();