Classes
Members
namespace
Getter for namespace
(static) ExternalObjects
Properties:
Name | Type | Description |
---|---|---|
ExternalObjects |
Array.<ExternalScreen> | The list of all External Screen Objects |
(static) UUIDBrowserSession
Properties:
Name | Type | Description |
---|---|---|
UUIDBrowserSession |
string | Browser session id |
(static) externalData
Properties:
Name | Type | Description |
---|---|---|
externalData |
any | Data from the external screen. |
(static) externalScreenContainer
Properties:
Name | Type | Description |
---|---|---|
externalScreenContainer |
string | The external screen container. |
(static) externalScreens
Properties:
Name | Type | Description |
---|---|---|
externalScreens |
array | List of external screens. |
(static) externalScreensNamespaces
Properties:
Name | Type | Description |
---|---|---|
externalScreensNamespaces |
array | List of external screens namespaces. |
(static) onBeforeScreenOnload
Properties:
Name | Type | Description |
---|---|---|
onBeforeScreenOnload |
array | Before screen unload callbacks. |
(static) popups
Properties:
Name | Type | Description |
---|---|---|
popups |
array | The windows/popups opened. |
Methods
createEmitter()
createListener()
destroy()
emit(eventName, payload)
Parameters:
Name | Type | Description |
---|---|---|
eventName |
string | The name of the event |
payload |
object | The payload/data to send |
getActiveWindowForeignKey() → {string}
Returns:
activeWindowForeignKey
- Type
- string
getExternalData()
off(eventName, fn)
Parameters:
Name | Type | Description |
---|---|---|
eventName |
string | The name of the event |
fn |
function | The callback method |
on(eventName, fn)
Parameters:
Name | Type | Description |
---|---|---|
eventName |
string | The name of the event to listen for |
fn |
function | The callback method |
setActiveWindowForeignKey(foreignKey)
Parameters:
Name | Type | Description |
---|---|---|
foreignKey |
string |
setActiveWindowListener(ln)
Parameters:
Name | Type | Description |
---|---|---|
ln |
function | Listener method |
setCloseWindowListener(ln)
Parameters:
Name | Type | Description |
---|---|---|
ln |
function | Listener method |
setDataAvailListener(ln)
Parameters:
Name | Type | Description |
---|---|---|
ln |
Listener method |
setLaunchContainerListener(ln)
Parameters:
Name | Type | Description |
---|---|---|
ln |
function | Listener method |
setNamespace(namespace) → {void}
Parameters:
Name | Type | Description |
---|---|---|
namespace |
string |
Returns:
- Type
- void
setRefreshListener(ln)
Parameters:
Name | Type | Description |
---|---|---|
ln |
function |
setRefreshSchemeListener(ln)
- Description:
Method for setting up a refreshScheme listener method besides the default behaviour
- Source:
Parameters:
Name | Type | Description |
---|---|---|
ln |
function |
(static) forEachPopup(func)
Parameters:
Name | Type | Description |
---|---|---|
func |
Function to call for each popup |
(static) getExternalPopup(screenNamespace)
- Description:
Method for returning the external screen popup by namespace
- Source:
Parameters:
Name | Type | Description |
---|---|---|
screenNamespace |
The External Screen namespace used when launching |
(static) getLocalOpened(name) → {Object}
- Description:
Method for getting the ExternalScreen Opened locally from localStorage
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
Returns:
- Type
- Object
(static) initBrowserSessionId()
(static) loadExternalDesignerNamespace()
- Description:
Method for setting screenNamespace from query param screenNamespace
- Source:
(static) setContainer(containerName)
Parameters:
Name | Type | Description |
---|---|---|
containerName |
string |