IOpenPopupWindowRequest

This object must be passed as the request object for the pop-up operation publish API.

Functions

setId

Use this function to set the unique ID of the pop-up. In a successful response, you'll get the same ID value:
setId(id: boolean): void;

Parameter

Parameter Name Required? Description
Id Yes Unique ID of the modal.

setUrl

Use this function to set the URL of the modal content. This URL render in an iFrame to display in the modal.
setURL(url: string): void;

Parameter

Parameter Name Required? Description
url Yes Content of the modal.

setTitle

Use this function to set the title of the modal.
setTitle(title: string): void;
  

Parameter

Parameter Name Required? Description
Title No Title of the modal.

setClosable

Use this function to set the modal closable or not. If it isn't set to True, the Close icon won't be available in the modal. You must close it with the CloseModal operation:
setClosable(closable: boolean): void;
  

Parameter

Parameter Name Required? Description
closable No The default value is False, and the Close icon wont be available in the modal. You need to close it with CloseModal operation.

setStyle

Use this function to set the style of the modal:
setStyle(style: any): void;

Parameter

Parameter Name Required? Description
style No The style of the object. For example: width: 100px, height 100px.