Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Ready event #18

@HenglyEver

Description

@HenglyEver

Hey, I found this library very useful but I have a little bit of a problem with it.

I hide the widget upon loaded event (this.$zendesk.$on('loaded', callback)) and use my custom button to trigger this.$zendesk.show() to show it back. Everything is fine except that most of the time, Zendesk widget is loaded but it's not ready, and by not ready I mean when calling this.$zendesk.show() right after page loaded, it takes like 3-5 seconds to show the widget.
So I am thinking of hiding my custom button until Zendesk is ready, so when the user clicks on it, there is no big delay on showing the widget but I can't seem to find a way to understand that it is ready.
Is there any solution to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions