UNPKG

aurelia-templating-resources

Version:

A standard set of behaviors, converters and other resources for use with the Aurelia templating library.

14 lines (12 loc) 340 B
/* eslint-disable @typescript-eslint/no-unused-vars */ /** * A strategy for repeating a template over null or undefined (does nothing) */ export class NullRepeatStrategy { instanceChanged(repeat, items): void { repeat.removeAllViews(true); } getCollectionObserver(observerLocator, items): any { // empty } }