handling mouseover/mouseout events for dijit.TitlePane's titleNode

Posted by Shailesh Kumar on Stack Overflow See other posts from Stack Overflow or by Shailesh Kumar
Published on 2009-12-16T07:52:53Z Indexed on 2010/03/11 21:04 UTC
Read the original article Hit count: 482

Filed under:
|
|

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"?

© Stack Overflow or respective owner

Related posts about dojo

Related posts about dijit