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.
You can define the expand.mode to match what you what you are looking for.
Expand | ArcGIS API for JavaScript 4.17
<SPAN class="keyword token">const</SPAN> expand <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">Expand</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">{</SPAN> content<SPAN class="punctuation token">:</SPAN> widget<SPAN class="punctuation token">,</SPAN> mode<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"floating"</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Thanks.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.