is it possible to add an event to SAPUI5 sap.ui.commons.Panel's
minimize and maximize? What i need is to add a different style when the Panel's collapse- or expand-Button is clicked.
If the user clicks on the minus-Symbol i have to add a styleclass like pnl.addStyleClass("XYZ");
when the user clicks on "maximize" a different styleclass should be added to the panel pnl.addStyleClass("ZYFDEFD");
if i overwrite the .setCollapse-
or .setExpanded-function
the panel doesn't collapse or expand anymore, so something else has to be found.