handling mouseover/mouseout events for dijit.TitlePane's titleNode
- by Shailesh Kumar
I have a lot of dijit.TitlePanes stacked up one after another. I wish to handle the onmouseover and onmouseout events for the tile part of the TitlePane. What is the correct way of doing this? 
Will something like :
dojo.connect(titlePane.titleNode, 'onmouseover', function f() {});
work, where titlePane is a reference to some dijit.TitlePane object?
Is there some declarative way of setting up such an event handler using "dojo/mehtod"?