New Web Widget API hide/show methods | Community
Skip to main content

New Web Widget API hide/show methods

  • May 25, 2022
  • 1 reply
  • 0 views

Danil

Is it possible to programmatically hide/show the widget in the new Web Widget API?

1 reply

Tipene
  • May 26, 2022
Hey, Danil!
 
The Zendesk Web Widget API does not currently have support for hiding and showing the widget on the page. One work around to this may be setting the zIndex to move the widget behind or in front of other content on the page. Here's a link to the documentation for further info:

Web Widget API
 
The Zendesk Web Widget is relatively new so keep an eye out for future updates which may introduce the functionality you're looking for. 
 
Thanks!
 
Tipene