[ 1 post ]

koalabruder

  • Username: koalabruder
  • Joined: Wed Jan 20, 2010 1:43 pm
  • Posts: 14
  • IRC: koalabruder
  • Offline
  • Profile

How can I nest widgets?

Post Posted: Sun May 13, 2012 4:43 pm
+0-
Hello,
I want to nest some Widgets of my own with WidgetChild and WidgetParent. I wanted to listen to the
event selectedChanged (Attribute: WidgetChild.selected) to react when a Child is selected. It works if the
children do NOT use the plugin "WidgetParent".

In the example I have nested the two widgets:
- MyChild uses WidgetChild
- MyParent uses WidgetChild and WidgetParent

If I select an instance of MyChild _afterSelectedChanged() is called.
If I select an instance of MyParent _afterSelectedChanged() is NOT called? Why?

Please watch the console for the following example:
http://jsfiddle.net/Lbknd/

Thank you
  [ 1 post ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum