I need some help with dynamically populating some custom xtypes in my project. As you can see from the following Fiddle, items are being dynamically added to a carousel. However, each of the items are static. I need to be able to pass in the record data into the xtypes so that they become dynamic.
For example, the first carousel card should read:
Question 1
Which city is the capital of New York?
After this I would like to populate a series of multiple choice answers from the store (the answers haven't been included in this example in order to simplify things for now).
Any help would be appreciated.