Class FormArrayItemRemoveButtonDirective

Hierarchy (View Summary)

Implements

  • AfterViewInit
  • OnDestroy

Constructors

Properties

deletedControl: RxapFormControl<boolean>
elementRef: ElementRef
formArray: RxapFormArray
formGroup: RxapFormGroup<{ deleted: boolean }>
matButton: MatButton
parent: ControlContainer
renderer: Renderer2
shouldTemporarilyDeleted: (formGroup: RxapFormGroup) => boolean = ...

A function that returns if the control should be temporarily deleted. true - in the given form group the deleted control is set to true false - the form group is removed from the (parent) form array

type: string = 'button'

Accessors

Methods