Tell us how you use Jira Service Desk and get a Starbucks gift card for this! Share your experience to help us design a new solution for efficient communication with customers!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Talk discussion resolved

...

You can register a callback function which will be called after the widget loading. You need to add the data attribute data-on-ready with the name of the JavaScript function into the generated script tag.  The function should be added on the parent page before calling

Talk
idtalk-4057
the widget script. The function will be called one time after the loading and initialization of the widget. The toggle function
Talk
idtalk-4052
(which toggles the widget states - opens it if closed, or closed it, if opened) will be passed to the callback function as a parameter.

...