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

    Interface ItemTreePlugin

    Plugin that creates an interactive tree component for basket items.

    • Plugin category = ItemTree
    interface ItemTreePlugin {
        isAvailable?: boolean;
        name: string;
        createComponent(
            pEditor: ProjectEditor,
            pContainer: HTMLElement,
        ): Promise<ItemTree>;
        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>