API Docs for: 2.0.20133.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",
    accessibilityTitle: "My awesome component"
};

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

Properties

containerSelector

String

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

containerSelector

String

Iframe title value for accessibility. 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