Change widget apperance

465
3
Jump to solution
11-15-2021 11:19 AM
albanajpaul_itotem
New Contributor II

Hi,

Is it possible to change the fullscreen widget's logo into text instead of the current icon  albanajpaul_itotem_0-1637003887346.png ? I need to be able to have users simply click a button that says "Enter Fullscreen" instead of the icon.

Thanks!

 

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

Not really a simple way to change this, but you can add your own button and use the FullscreenViewModel to do the same thing.

https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen-FullscreenView...

 

View solution in original post

0 Kudos
3 Replies
ReneRubalcava
Frequent Contributor

Not really a simple way to change this, but you can add your own button and use the FullscreenViewModel to do the same thing.

https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen-FullscreenView...

 

0 Kudos
albanajpaul_itotem
New Contributor II

I added a button and ran the enter and toggle methods with the fullscreenviewmodel and I ran into this error. 

albanajpaul_itotem_0-1637085587773.png

I'm using the latest version of chrome and tried it with different browsers

0 Kudos
albanajpaul_itotem
New Contributor II

Nevermind, I figured it out thanks!

0 Kudos