Collapses the collapsible text and displays the introductory text with an ellipsis.
Note: This function is only relevant if the readMoreActionType
property is set to ExpandOnCurrentPage
.
The collapseText()
function collapses the collapsible text and displays the introductory text. The introductory text is accompanied by an ellipsis to signal to the site visitor that there is additional text.