Home | useDefaultLauncher false chat with hide and show

Front Chat

Basic chat functionality with buttons to demonstrate "hide" and "show" methods of the Chat API when initialized with useDefaultLauncher false.



Code used on this page:

<button onclick="window.FrontChat('show')">Show chat</button>
<button onclick="window.FrontChat('hide')">Hide chat</button>

<script src="https://chat-assets.frontapp.com/v1/chat.bundle.js"></script>
<script>
  window.FrontChat('init', {chatId: 'a019c83ab77a570c49500301e65d1297', useDefaultLauncher: false});
</script>