Skip to content

Commit

Permalink
using new prop also for dynamicscroller now
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Raetz committed May 2, 2022
1 parent 0ea4aca commit 5098660
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 4 deletions.
5 changes: 5 additions & 0 deletions dist/vue-virtual-scroller.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-virtual-scroller.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-virtual-scroller.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-virtual-scroller.min.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/vue-virtual-scroller.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-virtual-scroller.umd.js.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/components/DynamicScroller.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:items="itemsWithSize"
:min-item-size="minItemSize"
:direction="direction"
:use-relative-positioning="useRelativePositioning"
key-field="id"
v-bind="$attrs"
@resize="onScrollerResize"
Expand Down Expand Up @@ -75,6 +76,11 @@ export default {
type: [Number, String],
required: true,
},
useRelativePositioning: {
type: Boolean,
default: false,
},
},
data () {
Expand Down

0 comments on commit 5098660

Please sign in to comment.