Constructor
new Plugin()
Methods
import(name) → {Promise.<any>}
Imports an OpenFin plugin and resolves with plugin's exported API.
Works only in OpenFin environment.
Important: If you set HTTP Content-Security-Policy's script-src
directive
you must allow unsafe-inline
for blob:
for this API to work.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | Plugin to import. Specified plugin must be listed in app's manifest. |
- Tutorials:
Returns:
- Type
- Promise.<any>