Angular Modernizer
    Preparing search index...

    Interface OutputFlowResult

    interface OutputFlowResult {
        alternatives: { className: string; file: string; selector: string }[];
        availableOutputs: string[];
        counts: {
            bindings: number;
            dynamicHosts: number;
            effects: number;
            emitSites: number;
            hosts: number;
            outputs: number;
            subscriptions: number;
            templatesScanned: number;
        };
        dynamic?: DynamicResultFlow;
        outputs: OutputFlow[];
        target?: {
            className: string;
            file: string;
            kind: "directive"
            | "component";
            selector: string;
        };
        truncated: boolean;
        unknownOutput?: string;
    }
    Index

    Properties

    alternatives: { className: string; file: string; selector: string }[]

    Other classes that matched the query, as in ComponentHostFinder.findHosts.

    Type Declaration

    • className: string

      Class name.

    • file: string

      File of the class.

    • selector: string

      Selector from the decorator.

    availableOutputs: string[]

    Public names of all outputs of the target.

    counts: {
        bindings: number;
        dynamicHosts: number;
        effects: number;
        emitSites: number;
        hosts: number;
        outputs: number;
        subscriptions: number;
        templatesScanned: number;
    }

    Totals over all traced outputs.

    Type Declaration

    • bindings: number

      Template bindings over all outputs.

    • dynamicHosts: number

      Hosts in OutputFlowResult.dynamic; 0 without it.

    • effects: number

      Payload effects of the template bindings over all outputs.

    • emitSites: number

      Emit sites over all outputs.

    • hosts: number

      Template hosts of the target.

    • outputs: number

      Number of traced outputs.

    • subscriptions: number

      Subscriptions in code over all outputs.

    • templatesScanned: number

      Templates scanned for hosts.

    Components only, unless includeDynamic is false: creation in code, data in, result out.

    outputs: OutputFlow[]

    Flow of each selected output.

    target?: {
        className: string;
        file: string;
        kind: "directive" | "component";
        selector: string;
    }

    The matched class; absent when nothing matched the query.

    Type Declaration

    • className: string

      Class name.

    • file: string

      File of the class.

    • kind: "directive" | "component"

      Component or directive.

    • selector: string

      Selector from the decorator.

    truncated: boolean

    The effect budget ran out; some effect lists are incomplete.

    unknownOutput?: string

    Set when output named nothing the target declares.