Displaying 1 result from an estimated 1 matches for "mouseover_listen".
Did you mean:
mouseover_listener
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
...(also allows you to easily apply this behavior
elsewhere when you need it in the future):
Object.extend(this.el, HighlightBehaviorClass.prototype)
2. When defining your event handlers, assign them to variables so you
have a handle to properly dispose of them, like this:
this.mouseOver_Listener = this.highight.bindAsEventListener(this);
Event.observe(this, "mouseover", this.mouseOver_Listener);
...now this will work...
Event.stopObserving(this, "mouseover", this.mouseOver_Listener);
________________________________
From: rails-spinoffs-bounces-1W37MKcQC...