Recherches récentes
Pas de recherche récente

Danish Kamal
Adhésion le 16 oct. 2021
·
Dernière activité le 16 oct. 2021
Suivis
0
Abonnés
0
Activité totale
2
Votes
0
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Danish Kamal
Danish Kamal a ajouté un commentaire,
Commentaire de la communauté Developer - Zendesk Apps Framework (ZAF)
Just wanted to share if we want to a Custom Button to as a toggle button we can just do it by attaching onClose and onOpen to zE and just use the toggle command from the button.
Global Script
window.zE('webWidget', 'hide');
window.zE('webWidget:on', 'close', function () {
window.zE('webWidget', 'hide');
});
window.zE('webWidget:on', 'open', function () {
window.zE('webWidget', 'show');
});
Button OnClick
window.zE('webWidget', 'toggle');
Afficher le commentaire · Publication le 26 mars 2021 · Danish Kamal
0
Abonnés
0
Votes
0
Commentaire