diff --git a/src/index.js b/src/index.js index f2eaf8c..7ae6ce2 100644 --- a/src/index.js +++ b/src/index.js @@ -31,6 +31,11 @@ const VirtualList = Vue.component('virtual-list', { this.virtual.handleDataSourcesChange() }, + keeps (newValue) { + this.virtual.updateParam('keeps', newValue); + this.virtual.handleSlotSizeChange(); + }, + start (newValue) { this.scrollToIndex(newValue) },