Select to view content in your preferred language

Expand Widget for phone screen

1529
2
Jump to solution
10-13-2020 09:50 AM
cadgism
Regular 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
Honored 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

0 Kudos
2 Replies
ReneRubalcava
Honored 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"
});
0 Kudos
cadgism
Regular Contributor

Thanks.

0 Kudos