iconCollapsed


iconCollapsedbooleanRead-only

Indicates if the button’s icon is collapsed or expanded.

If iconCollapsed is true, the icon isn't displayed in the button under any circumstances.

If iconCollapsed is false, the icon is displayed unless the icon's button is hidden or collapsed.

To set the iconCollapsed property on an element, use the element's collapseIcon() and expandIcon() functions.

Note:

  • A collapsed icon doesn't take up any space in the button.
  • If you delete a button's icon, iconCollapsed retains the deleted icon's final state.
Was this helpful?
Yes
No