aurelia-templating-resources
Version:
A standard set of behaviors, converters and other resources for use with the Aurelia templating library.
14 lines (12 loc) • 329 B
text/typescript
/* 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) {
repeat.removeAllViews(true);
}
getCollectionObserver(observerLocator, items) {
// empty
}
}