Expand Widget for phone screen

504
2
Jump to solution
10-13-2020 09:50 AM
cadgism
Occasional Contributor

Hi

The expand widget in 4.16  works fine in normal large view. But brings a drawer like panel when the screen size is small (Mobile Display). I want to keep the same normal expand irrespective of the screen size. how can i make it please.

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor II

You can define the expand.mode to match what you what you are looking for.

Expand | ArcGIS API for JavaScript 4.17 

const expand = new Expand({
  content: widget,
  mode: "floating"
});

View solution in original post

0 Kudos
2 Replies
ReneRubalcava
Frequent Contributor II

You can define the expand.mode to match what you what you are looking for.

Expand | ArcGIS API for JavaScript 4.17 

const expand = new Expand({
  content: widget,
  mode: "floating"
});
0 Kudos
cadgism
Occasional Contributor

Thanks.

0 Kudos