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

Method shuffle

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

Source from the content-addressed store, hash-verified

548 }
549
550 shuffle() {
551 const arr = this.items();
552 this.items.set([arr[1], arr[0]]);
553 }
554
555 remove() {
556 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