Skip to content

Commit a41aae0

Browse files
aisintangbc
authored andcommitted
Response to update when keeps changes
1 parent 36d00bd commit a41aae0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ const VirtualList = Vue.component('virtual-list', {
3131
this.virtual.handleDataSourcesChange()
3232
},
3333

34+
keeps (newValue) {
35+
this.virtual.updateParam('keeps', newValue);
36+
this.virtual.handleSlotSizeChange();
37+
},
38+
3439
start (newValue) {
3540
this.scrollToIndex(newValue)
3641
},

0 commit comments

Comments
 (0)