I have a container that contains some data from a store (passed through from a list). I also have a button in the container and I want to somehow trigger a video panel on clicking the button, but the video link must come from the store.
Data flow would be like this: List > detailView (containing button) > on button tap link data gets handed through to controller to include in video view.
Are there any examples of this online. I have tried to add an onclick to a button element in the tpl of the detailView, just get 'function undefined'.
Any ideas or starting suggestions would be great.