We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I fire an Event with Eve:
eve("test.a");
if I have an Eve EventHandler in which Element.attr() is called:
eve.on("test.*",function(){ console.log('#1',evt.nt()); circle.attr('r',20); // circle is defined somewhere else console.log('#2',evt.nt()); });
in the console:
#1, "test.a" #2, "attr..."
the original Eventname is overwritten.
I found in the source code of Raphael, that when caling elproto.attr(), a new Event is fired, which is the cause for this bug.
The problem is now, if you have a second EventHandler which also listens for "test.*",
and you want to elaborate inside which subname the Event has, you can't do this.
The original Problem may be in Eve..
if a Event is fired inside a Handler the original Event seems to be overwritten
I would be thankful for any respond / solution.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I fire an Event with Eve:
if I have an Eve EventHandler in which Element.attr() is called:
in the console:
the original Eventname is overwritten.
I found in the source code of Raphael, that when caling elproto.attr(),
a new Event is fired, which is the cause for this bug.
The problem is now, if you have a second EventHandler which also listens for "test.*",
and you want to elaborate inside which subname the Event has, you can't do this.
The original Problem may be in Eve..
if a Event is fired inside a Handler the original Event seems to be overwritten
I would be thankful for any respond / solution.
The text was updated successfully, but these errors were encountered: