Skip to content

Render n items on the screen with a range? #8122

Answered by ogoffart
burumdev asked this question in Q&A
Discussion options

You must be logged in to vote

maybe not the most intuitive, but you can use a int as a model

in property <int> n: 42;
for index in n: Component {}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by burumdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants