Collapses the button’s icon and sets its iconCollapsed property to true.
iconCollapsed
true
The collapseIcon() function returns a Promise that resolves when the element's iconCollapsed property is set to true.
collapseIcon()