createHtmlPanel method

dynamic createHtmlPanel(
  1. HtmlPanelOptions options
)

HTML Panels allow you to place a HTML document in an iframe in your chats, just above the entry box.

@remarks Using HTML Panels, you can extend TalkJS UIs to have anything from credit card payments to lead collection forms, or, for instance, to show the product details of a marketplace transaction between your users. See our {@link https://talkjs.com/docs/Features/Customizations/HTML_Panels.html | HTMLPanels documentation} for more info

Implementation

external dynamic /* Promise<HtmlPanel>*/ createHtmlPanel(
  HtmlPanelOptions options,
);