Hide expand widget

337
0
10-28-2019 11:59 AM
GregoryBologna
Occasional Contributor II

I have this expand widget. I want to hide it OR disable it when fullscreen is active. How??

          var screenshotExpand = new Expand({
            content: dvExpandContent,
            view: view,
            expandIconClass: "esri-icon-sketch-rectangle",
            expandTooltip: 'Screenshot',
            autoCollapse: true,
            expanded: false,
            group: "top-right"
          }); // end screenshotExpand
0 Kudos
0 Replies