Panel Manager

3935
8
Jump to solution
07-14-2015 06:03 AM
denverweston
New Contributor III

Is it possible to change the opacity of the Panel from another Widget?  My goal is to "hide"  the panel.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Denver,

   Current active panel, no. You have to specify which panel to close.

View solution in original post

8 Replies
RobertScheitlin__GISP
MVP Emeritus

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.

How to programmatically open a widgetOnScreen widget

denverweston
New Contributor III

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?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Denver,

   Current active panel, no. You have to specify which panel to close.

denverweston
New Contributor III

That is what I thought just wanted to get a second opinion.

0 Kudos
JunshanLiu
Occasional Contributor III

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.

denverweston
New Contributor III

Thanks for the update.  I'm guessing you will be able to pass the current active panel to the Open and Close Panel funtions?

0 Kudos
denverweston
New Contributor III

Did the active panel get implemented so we can minimize it through code?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Denver,

  Yes this work now

var pm = PanelManager.getInstance();
pm.closePanel(pm.activePanel);