We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70eec58 commit 09070abCopy full SHA for 09070ab
src/collectionview/vue3/component.ts
@@ -121,19 +121,14 @@ export const CollectionView = defineComponent({
121
return vnode;
122
});
123
124
- function scrollToIndex(index: number, animate = false) {
125
- (collectionView.value.nativeView as NSCollectionView).scrollToIndex(index, animate);
126
- }
127
-
128
return () =>
129
h(
130
'NativeCollectionView',
131
{
132
ref: collectionView,
133
items: props.items,
134
itemTemplates,
135
- onItemLoading,
136
- scrollToIndex
+ onItemLoading
137
},
138
cellVNODES()
139
);
0 commit comments