API Docs for: 2.0.17170.2
Show:

ui.UIInfo Class

Module: UI

UIInfo class which describes the details about a UI component

Example:

// UIInfo used to render a UI component as an IFRAME
var iframeUIInfo = {
    type: sdk.ui.HostType.IFRAME,
    containerSelector: "#iframe-container"
};

// UIInfo used to render a UI component as a popup
var popupUIInfo = {
    type: sdk.ui.HostType.POPUP,
    width: 600,
    height: 800
};

Item Index

Properties

containerSelector

String

Iframe container selector. Applicable when type is ui.HostType.IFRAME

height

Number

Height of the popup window. Applicable when type is ui.HostType.POPUP

type

String

A value from ui.HostType

width

Number

Width of the popup window. Applicable when type is ui.HostType.POPUP