ng-xtend API documentation
    Preparing search index...

    Class HostTestTypedFormComponent

    Same as HostTestSimpleComponent but it includes everything in a form. Just set the component type, the formGroup and the component name, and your component will be run. You can as well easily read and set the value.

    Implements

    • OnInit
    Index

    Constructors

    Properties

    builder: FormBuilder = ...

    Injected FormBuilder for creating form groups.

    controlName: InputSignal<string | undefined> = ...

    Input for the form control name.

    createdFormGroup: Signal<FormGroup<any>> = ...

    Computed signal returning the created form group.

    formDescription: InputSignal<any> = ...

    Input for the form description used to generate the form group.

    formGroup: InputSignal<FormGroup<any> | undefined> = ...

    Input to provide an existing FormGroup directly.

    parentFormGroup: FormGroup<
        ɵNullableFormControls<
            { [keys: string]: AbstractControl<any, any, any> },
        >,
    > = ...

    The parent FormGroup that contains the component's form group.

    resolver: XtResolverService = ...

    Injected resolver service for type resolution.

    subContext: Signal<XtBaseContext<any>> = ...

    Computed signal that builds the XtBaseContext from form group and control name.

    valueType: InputSignal<string | undefined> = ...

    Input for the value type string.

    CONTROL_NAME: "ForTest" = 'ForTest'

    Default control name used if none is provided.

    Methods

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void