Is it possible to change the opacity of the Panel from another Widget? My goal is to "hide" the panel.
Solved! Go to Solution.
Denver,
Current active panel, no. You have to specify which panel to close.
Denver,
Here is a whole thread about opening panels and closing a panel will work very similar but use the pan managers closePanel method instead.
Thanks I saw that earlier. After reading the Panel Manager documentation does the closePanel methond work for the current active panel in the Foldable Theme?
Denver,
Current active panel, no. You have to specify which panel to close.
That is what I thought just wanted to get a second opinion.
In the coming release, you can get current active panel from PanelManager, and current active widget from widgetManager.
For hide a panel, please use panelManager.closePanel(), what this function does is hide the panel.
Thanks for the update. I'm guessing you will be able to pass the current active panel to the Open and Close Panel funtions?
Did the active panel get implemented so we can minimize it through code?
Denver,
Yes this work now
var pm = PanelManager.getInstance(); pm.closePanel(pm.activePanel);