mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 15:24:43 +00:00
parent
043500fb27
commit
dc027f22e5
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@
|
||||||
* For example: `item in items track by $id(item)`. A built in `$id()` function can be used to assign a unique
|
* For example: `item in items track by $id(item)`. A built in `$id()` function can be used to assign a unique
|
||||||
* `$$hashKey` property to each item in the array. This property is then used as a key to associated DOM elements
|
* `$$hashKey` property to each item in the array. This property is then used as a key to associated DOM elements
|
||||||
* with the corresponding item in the array by identity. Moving the same object in array would move the DOM
|
* with the corresponding item in the array by identity. Moving the same object in array would move the DOM
|
||||||
* element in the same way ian the DOM.
|
* element in the same way in the DOM.
|
||||||
*
|
*
|
||||||
* For example: `item in items track by item.id` is a typical pattern when the items come from the database. In this
|
* For example: `item in items track by item.id` is a typical pattern when the items come from the database. In this
|
||||||
* case the object identity does not matter. Two objects are considered equivalent as long as their `id`
|
* case the object identity does not matter. Two objects are considered equivalent as long as their `id`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue