aschmid00
aschmid00

Reputation: 7158

how to pass an element to a nested stack in spine.js

i have a Controller which holds a Spine.Model instance and has a nested Spine.Stack,
how can i pass the model instance to the nested stacks Controllers?

Upvotes: 1

Views: 184

Answers (1)

aschmid00
aschmid00

Reputation: 7158

figured it out. every Controller in a stack has the stack at @stack so passing objects to a stack makes those available also on the Controllers

Upvotes: 1

Related Questions