Is there a proper way to hide the launcher (square button at the bottom right corner) on the particular routes of our single-page application
Is there a proper way to hide the launcher (square button at the bottom right corner) on the particular routes of our single-page application (we are using Web Widget SDK)?
Now, as a quick solution, we forbid the storing of the cookies for the Zendesk widget (using window.zE('messenger:set', 'cookies', false) command) upon landing on the needed route, and then we allow the storing of the cookies upon leaving that route.
Such actions lead to the hiding of the launcher, but I believe there is a better way to do that.
Any suggestions?
-
Hi Renee Valdez,
Sadly, the API does not provide a hide/show method like the classic Widget. However, you can create a custom launcher, control its visibility on your pages, and utilise the open/close API.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
1 Kommentare