pCon.basket - Plugin Development
    Preparing search index...

    Interface ItemInfoPlugin

    Plugin which is used display item information (e.g. article data and texts).

    • Plugin category = ItemInfo
    interface ItemInfoPlugin {
        isAvailable?: boolean;
        name: string;
        createComponent(
            pEditor: ProjectEditor,
            pContainer: HTMLElement,
        ): Promise<ItemInfo>;
        initialize(
            pDescriptor: PluginDescriptor,
            pSettings: unknown,
        ): Promise<void>;
    }

    Hierarchy (View Summary)

    Index
    isAvailable?: boolean

    Optional, if false this plugin will not be used.

    name: string
    • Will be called once after the plugin was loaded.

      Parameters

      • pDescriptor: PluginDescriptor

        Plugin descriptor for this plugin.

      • pSettings: unknown

        Optional plugin specific settings which may be defined as part of the application settings.

      Returns Promise<void>