mirror of
https://github.com/568071718/creator-collection-view
synced 2026-01-09 15:36:58 +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
|
||||
|
||||
@@ -298,6 +298,7 @@
|
||||
"preloadNodesLimitPerFrame": 2,
|
||||
"frameInterval": 1,
|
||||
"recycleInterval": 1,
|
||||
"autoReloadOnSizeChange": false,
|
||||
"registerCellForEditor": [
|
||||
{
|
||||
"__id__": 8
|
||||
|
||||
@@ -298,6 +298,7 @@
|
||||
"preloadNodesLimitPerFrame": 2,
|
||||
"frameInterval": 1,
|
||||
"recycleInterval": 1,
|
||||
"autoReloadOnSizeChange": false,
|
||||
"registerCellForEditor": [
|
||||
{
|
||||
"__id__": 8
|
||||
|
||||
@@ -8,6 +8,7 @@ export class table_in_page extends Component {
|
||||
protected start(): void {
|
||||
const listComp = this.node.getChildByName('list').getComponent(YXCollectionView)
|
||||
|
||||
listComp.recycleInterval = 0
|
||||
listComp.ignoreScrollEndedDuringAutoScroll = true
|
||||
listComp.numberOfItems = () => {
|
||||
return 5
|
||||
|
||||
Reference in New Issue
Block a user