Select to view content in your preferred language

4.29 - Popup visibleElements

1103
6
Jump to solution
01-31-2024 01:11 AM
michaelkdev
Regular Contributor

Hi. 

Is it possible to hide the HEADER totally? (4.29)

michaelkdev_0-1706692114994.png


Release 4.29

Tried adding actionBar: false and heading: false.

HTML result:

michaelkdev_1-1706692233514.png

 

It should be possible to add the 'hidden' property to header-actions?

 

Thanks

 

 

0 Kudos
1 Solution

Accepted Solutions
RalucaNicola1
Esri Contributor

You'll also need to remove the docking button: 

popup: {
  dockOptions: {
     buttonEnabled: false
  },
  visibleElements: {
     closeButton: false,
     heading: false,
     actionBar: true,
     collapseButton: false
  }
}

See a sample here: https://codepen.io/ralucanicola/pen/RwdMbBR?editors=100

View solution in original post

0 Kudos
6 Replies
RalucaNicola1
Esri Contributor

You'll also need to remove the docking button: 

popup: {
  dockOptions: {
     buttonEnabled: false
  },
  visibleElements: {
     closeButton: false,
     heading: false,
     actionBar: true,
     collapseButton: false
  }
}

See a sample here: https://codepen.io/ralucanicola/pen/RwdMbBR?editors=100

0 Kudos
JackyCai
Occasional Contributor

Thanks! This solves the issue perfectly, but it does have a problem in 4.28. Any clue when 4.29 would be officially released?

0 Kudos
LaurenBoyd
Esri Contributor

Version 4.29 just released today! https://developers.arcgis.com/javascript/latest/release-notes/ 

Lauren
0 Kudos
JackyCai
Occasional Contributor

Thank you! BTW, do you know when approx. does ESRI usually provide download package after it is released?

0 Kudos
LaurenBoyd
Esri Contributor

The downloads are typically available about 3-4 weeks after the release date: https://developers.arcgis.com/javascript/latest/release-notes/#how-to-access-the-sdk 

Lauren
JackyCai
Occasional Contributor

Got it, thank you

0 Kudos