interface HtmlPanel

HTML Panel HTML panels should only be created through Inbox.createHtmlPanel, Chatbox.createHtmlPanel or Popup.createHtmlPanel.

Methods

destroy

Destroys the HTML panel

hide

Hides the panel if it's visible.

isVisible

Returns true if the panel is visible, false if it's hidden or destroyed

setHeight

Changes the panel height.

show

Shows the panel if it's hidden.

Method Details

destroy

htmlpanel.destroy()

Destroys the HTML panel

Parameters

None.

Returns

void

hide

htmlpanel.hide()

Hides the panel if it's visible.

Parameters

None.

Returns

void

isVisible

htmlpanel.isVisible(): boolean

Returns true if the panel is visible, false if it's hidden or destroyed

Parameters

None.

Returns

boolean

setHeight

htmlpanel.setHeight(height)

Changes the panel height.

If you don't need to change the height after the panel is created, you can pass it as an option to the createHtmlPanel.

Parameters

height
number

Returns

void

show

htmlpanel.show()

Shows the panel if it's hidden.

Parameters

None.

Returns

void