Dockview
    Preparing search index...

    Interface DockviewModule<THost>

    interface DockviewModule<THost = unknown> {
        dependsOn?: DockviewModule<any>[];
        init?: (host: THost, services: ServiceCollection) => DockviewIDisposable;
        moduleName: string;
        services?: Record<string, (host: THost) => unknown>;
    }

    Type Parameters

    • THost = unknown
    Index

    Properties

    dependsOn?: DockviewModule<any>[]
    init?: (host: THost, services: ServiceCollection) => DockviewIDisposable

    Optional post-construct hook called once after the host is fully constructed and all module services are instantiated. Use this to subscribe to host events — the returned disposable runs at host teardown. Components don't need to call into the service from event handlers; the module owns its own reactivity.

    moduleName: string
    services?: Record<string, (host: THost) => unknown>