UXP Toolkit
    Preparing search index...

    Interface PluginConfig

    interface PluginConfig {
        create?: (this: UxpPluginInfo) => Promise<void>;
        destroy?: (this: UxpPluginInfo) => Promise<void>;
    }
    Index

    Properties

    Properties

    create?: (this: UxpPluginInfo) => Promise<void>

    This is called after plugin is loaded. 'this' can be used to access UxpPluginInfo object. If 'plugin' object is defined, 'create' must be defined. To signal failure, throw an exception.

    destroy?: (this: UxpPluginInfo) => Promise<void>

    This is called before plugin is unloaded. 'this' can be used to access UxpPluginInfo object.