Expand Widget for phone screen

89
2
Jump to solution
10-13-2020 09:50 AM
Highlighted
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.

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Frequent Contributor

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

Reply
0 Kudos
2 Replies
Highlighted
Frequent Contributor

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

Reply
0 Kudos
Highlighted
Occasional Contributor

Thanks.

Reply
0 Kudos