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

What is Framer? Join the Community
Return to index
Richard England-Lee
Posted Jun 15 - Read on Facebook


So im trying to create my own module... basically i'm trying to create an accordion. What I would like to happen is, when I call a new accordion i would like to be able to set the amount of rows and the text or 'label' within each of the rows...

Is this possible? I've attached and image of the code i'm trying but i'm just getting lost...



Riccardo Buzzotta

You could have an object or JSON to give to the module, so that it'll loop through the data and generate the various rows and labels

dataSource = …

accordion = new Accordion
source: dataSource

Read the entire post on Facebook