How plugins run
Plugins code are written using web technologies: HTML, CSS and Javascript.
In order to provide stability and security to the Qatium platform the plugins are split in two parts:
-
Plugin: Has access to the SDK. This artifact runs in a sandboxed environment in the main thread, which does not have access to Web APIs. This means, the plugin can use all the common Javascript APIs like calling
console.log
, using Promises or creatingArrays
, but cannot access the DOM to modify UI elements. -
Panel: The second part runs in an
iframe
and allows the plugin to display a user interface for the plugin and access the Web APIs.
Learn more about communicating between the plugin and its Panel.