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
Did this help?