Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RemapPipe

whatitdoes

Allows the reordering of an array in an *ngFor to effectively move the elements into a different order without destroying and recreating the elements.

Hierarchy

  • RemapPipe

Implements

  • PipeTransform

Index

Methods

Methods

transform

  • transform(value: any, mapTo?: string): any
  • Sorts the input according to each items mapTo property.

    Parameters

    • value: any
    • Default value mapTo: string = "default"

    Returns any

Generated using TypeDoc