mirror of
https://github.com/568071718/creator-collection-view
synced 2025-12-17 01:19:32 +00:00
更新 README
This commit is contained in:
@@ -8,6 +8,7 @@ export class page_view extends Component {
|
||||
protected start(): void {
|
||||
const listComp = this.node.getChildByName('list').getComponent(YXCollectionView)
|
||||
|
||||
listComp.recycleInterval = 0
|
||||
listComp.ignoreScrollEndedDuringAutoScroll = true
|
||||
listComp.numberOfItems = () => {
|
||||
return 3
|
||||
|
||||
Reference in New Issue
Block a user