Customer Portal

Get Involved. Join the Conversation.

Topic

    Diane Kohnert
    Chat Inlay Load Event
    Topic posted June 26, 2019 by Diane KohnertBlue Ribbon: 750+ Points 
    52 Views, 2 Comments
    Title:
    Chat Inlay Load Event
    Summary:
    Need example of subscribing to the Chat Inlay Load event
    Content:

    Hi,

    I am trying to subscribe to the Chat Inlay Load event, I see there is an event published but if anyone has an example that would be helpful.

    Thanks!

    Diane

    inlay-oracle-chat-embedded

     

     

    Publish

    inlay-oracle-chat-embedded-loaded
    Version:
    19B

    Comment

     

    • Robert Surujbhan

      Hi Diane - here is an example of subscribing to that event (JS code you would add to the page containing the Inlay):

      document.addEventListener('inlay-oracle-chat-embedded-loaded', function(e) {
          console.log('the inlay has loaded!');
      });
      
    • Willie Eide

      That the load event for the chat inlay which is simply fired when the event is loaded onto the page. There is a new published event that will show a hidden embedded chat inlay. If you go to the registry page for the embedded chat and under "Events" you can see that event name.