MCPcopy Create free account
hub / github.com/angular/angular / shuffle

Method shuffle

packages/core/test/acceptance/animation_spec.ts:552–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

550 }
551
552 shuffle() {
553 const arr = this.items();
554 this.items.set([arr[1], arr[0]]);
555 }
556
557 remove() {
558 const arr = this.items();

Callers 2

animation_spec.tsFile · 0.80

Calls 3

shuffleArrayMethod · 0.95
markForCheckMethod · 0.80
setMethod · 0.65

Tested by

no test coverage detected