First steps on icon drag support.

This commit is contained in:
Paulo Gustavo Veiga
2012-03-07 17:40:10 -03:00
parent 24047e02bb
commit a1f6542264
7 changed files with 105 additions and 36 deletions

View File

@@ -87,6 +87,10 @@ web2d.Element = new Class({
this._peer.addEvent(type, listener);
},
fireEvent : function(type, event) {
this._peer.fireEvent(type, event);
},
cloneEvents : function(from) {
this._peer.cloneEvents(from);
},

View File

@@ -85,6 +85,10 @@ web2d.peer.svg.ElementPeer = new Class({
this._native.addEvent(type, listener);
},
fireEvent : function(type) {
this._native.fireEvent(type, event);
},
cloneEvents : function(from) {
this._native.cloneEvents(from);
},