Angular Modernizer
    Preparing search index...

    A form property of a class.

    interface InspectedForm {
        className: string;
        controls: InspectedFormControl[];
        counts: {
            controls: number;
            disabledInitially: number;
            dynamicOperations: number;
            operations: number;
            reEnabledByAncestor: number;
            unknownPaths: number;
            validated: number;
        };
        definedAt: number[];
        dynamicOperations: (FormOperation & { path: string })[];
        file: string;
        kind: FormControlKind;
        operations: FormOperation[];
        property: string;
        unknownPaths: { line: number; op: FormOperationName; path: string }[];
        validators: string[];
    }
    Index

    Properties

    className: string

    Class declaring the form property, <anonymous> for unnamed classes.

    Controls in definition order (the form itself is not listed).

    counts: {
        controls: number;
        disabledInitially: number;
        dynamicOperations: number;
        operations: number;
        reEnabledByAncestor: number;
        unknownPaths: number;
        validated: number;
    }

    Totals of the form.

    Type Declaration

    • controls: number
    • disabledInitially: number

      Controls created disabled.

    • dynamicOperations: number
    • operations: number

      Operations on the form and on its controls; cascades are not included.

    • reEnabledByAncestor: number

      Controls with reEnabledBy set.

    • unknownPaths: number
    • validated: number

      Controls with sync or async validators.

    definedAt: number[]

    Lines where the form is created (initializer or this.x = ...).

    dynamicOperations: (FormOperation & { path: string })[]

    Operations through a computed key (controls[key].disable() in a loop); * marks the dynamic segment. They may hit any child of that path.

    Type Declaration

    • path: string

      Dotted path with * for the computed segment.

    file: string

    Absolute path of the source file.

    Kind of the form itself, usually group.

    operations: FormOperation[]

    Operations on the form itself.

    property: string

    Class property holding the form.

    unknownPaths: { line: number; op: FormOperationName; path: string }[]

    Operations whose path does not exist in the structure (typos, controls added elsewhere).

    Type Declaration

    • line: number

      1-based line of the call.

    • op: FormOperationName

      Called operation.

    • path: string

      Dotted path as targeted by the call.

    validators: string[]

    Validators on the form itself.