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
.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.