UNPKG

329 BPlain TextView Raw
1/* eslint-disable @typescript-eslint/no-unused-vars */
2/**
3 * A strategy for repeating a template over null or undefined (does nothing)
4 */
5export class NullRepeatStrategy {
6 instanceChanged(repeat, items) {
7 repeat.removeAllViews(true);
8 }
9
10 getCollectionObserver(observerLocator, items) {
11 // empty
12 }
13}