Skip to content

buildTrackByIdentity Type documentation

Creates a trackByFunction for ngFor, that tracks an Item by its identity. It should be used with a generic parameter, to generate a proper type:

Example:
@Input() trackByFunction = buildTrackByIdentity<ItemType>()


Deprecated: use the new control-flow syntax

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.