• Overview
@angular/forms/signals

AggregateProperty

Class

Represents a property that is aggregated from multiple parts according to the property's reducer function. A value can be contributed to the aggregated value for a field using an aggregateProperty rule in the schema. There may be multiple rules in a schema that contribute values to the same AggregateProperty of the same field.

API

    
      class AggregateProperty<TAcc, TItem> {}
    
    

constructor

AggregateProperty<TAcc, TItem>
@paramreduce(acc: TAcc, item: TItem) => TAcc
@paramgetInitial() => TAcc
@returnsAggregateProperty<TAcc, TItem>
Jump to details