default to true

This commit is contained in:
Bruno Windels 2020-05-08 09:31:41 +02:00
parent 21ce6a8f3c
commit 426dd726e7

View File

@ -11,7 +11,7 @@ function insertAt(parentNode, idx, childNode) {
} }
export class ListView { export class ListView {
constructor({list, onItemClick, className, parentProvidesUpdates}, childCreator) { constructor({list, onItemClick, className, parentProvidesUpdates = true}, childCreator) {
this._onItemClick = onItemClick; this._onItemClick = onItemClick;
this._list = list; this._list = list;
this._className = className; this._className = className;