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

    Interface ProjectOrderPlugin

    Plugin that allows the user to generate a project order. E.g. The OEX format could be used to generate an order.

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