Search...
removeReadMoreButton( )
Removes the read more button that links to the remaining text when clicked.
Description
Note: This function is only relevant if the
readMoreActionType
property is set toLinkToContent
.
The removeReadMoreButton()
function removes the read more button from the collapsible text, and the introductory text
becomes a hyperlink that links to the remaining content. The link is defined by the link
value of the LinkToContent
object in the readMoreActionData
property.
Removing the read more button sets the value of the readMoreButtonVisible
of the LinkToContent
object in the readMoreActionData
property to false
.
Syntax
function removeReadMoreButton(): void
removeReadMoreButton Parameters
This function does not take any parameters.
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
Remove the read more button
Copy Code
1$w('#myCollapsibleText').removeReadMoreButton();