collapseIcon( )


Collapses the button’s icon and sets its iconCollapsed property to true.

The collapseIcon() function returns a Promise that resolves when the element's iconCollapsed property is set to true.

Method Declaration
Copy
Request
This method does not take any parameters
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?