your recipe card header background

    Angular Trackby

    0

    0

    Jose Romero

    Angular TypeScript Recipes

    This code will track the model by its id.

    Library: angular

    Shortcut: angular.trackby

    trackBy(index: number, name: model): number {
      return name.id;
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.