This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Ed Chao
Posted Mar 08 - Read on Facebook

Is there a way to fetch a page within a Page Component by index? I'm trying to fetch a page by index and then change some of its values.

Answer: yourPageComponent.content.children[index]

2 Comments

Matt Safian

In the past I've pushed each page in a Page Component to an array, and then reference the pages by index through that array.

Matt Safian

You could also try: yourPageComponent.content.children[index]

Read the entire post on Facebook