HtmlPanelOptions class

Annotations
  • @JS()
  • @anonymous

Constructors

HtmlPanelOptions()
factory

Properties

conversation ↔ dynamic
Either a Conversation object (as returned from getOrCreateConversation) or the id field of a conversation (which you may have stored in your database). If given the HTML panel called will only show up for that conversation.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height num?
Optional, defaults to 300 (px).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool?
Optional, defaults to true. Set false if you don't want the HTML panel to be shown after createHtmlPanel is called. You can change the visibility of the HTML panels by calling .hide() or .show() on the HtmlPanel instance returned by createHtmlPanel's promise.
getter/setter pair
url String
Required. URL you want to load inside the HTML panel. Url can be absolute ("https://www.example.com/register-form.html") or relative ("register-form.html"). We recommend using same origin pages to have better control of the page. Learn more about HTML Panels and same origin pages {@link https://talkjs.com/docs/Customizations/HTML_Panels.html | here}.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited