AbstractStaticaddAdds a specific plugin in a map.
The id of the plugin to add
The constructor of the plugin
The map id to add the plugin to
Optionalprops: unknownOptional properties to pass to the plugin
A promise that resolves with the plugin instance once added
StaticloadLoads a package script on runtime.
The package id to load
A promise that resolves with the plugin class
StaticremoveDeletes a specific plugin from a map.
The id of the plugin to delete
The map id to remove the plugin from
A promise that resolves once the plugin is removed
StaticremoveDeletes all plugins loaded in a map.
The map id to remove the plugin from (if not provided then plugin will be removed from all maps)
A promise that resolves once the plugins are removed
Class to manage plugins.