Can I give a XBL handler a name to call it?
Question
Can I give a XBL handler a name, so I can call it from my javascript like I do with XBL methods?
Solution
It seems not, but you can create an XBL Method and call it from both your handler and other JavaScript. Something like:
<handler event="mouseover">
this.handleMouseOver();
</handler>
...
<method name="handleMouseOver">
<body>...
//and in javascript code:
yourObj.handleMouseOver();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow