Hi, is there a way to have the widget automatically hidden on close? I’ve hidden it on pageload, but on our website we want it to only pop out if a button is clicked, and after that if it’s closed then the button still remains showing on the page. I’ve tried adding event listeners to the close button and modifying the `close` function to no avail.
Page 1 / 1
Hi
Greetings from Freshworks community. You can use our Widget API to hide the widget . Please refer https://developers.freshdesk.com/widget-api/#:~:text=EXPAND%20%E2%86%93-,Hide,-the%20widget
You can also explore Show/Hide widget https://developers.freshdesk.com/widget-api/#close:~:text=SHOW%20THE%20WIDGET-,Show,-the%20widget and can use something similar in code based on your requirement.
Reply
Sign in to the Community
No account yet? Create an account.
Social Login
Login for Freshworks Employees Login with LinkedInor sign up below
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.