Skip to content

Commit f79ee26

Browse files
committed
Proxy to the dom callback methods
1 parent bdc9521 commit f79ee26

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

src/input/InputPlugin.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,27 @@ var InputPlugin = new Class({
15791579
}
15801580
},
15811581

1582+
addUpCallback: function (callback, isOnce)
1583+
{
1584+
this.manager.addUpCallback(callback, isOnce);
1585+
1586+
return this;
1587+
},
1588+
1589+
addDownCallback: function (callback, isOnce)
1590+
{
1591+
this.manager.addDownCallback(callback, isOnce);
1592+
1593+
return this;
1594+
},
1595+
1596+
addMoveCallback: function (callback, isOnce)
1597+
{
1598+
this.manager.addMoveCallback(callback, isOnce);
1599+
1600+
return this;
1601+
},
1602+
15821603
/**
15831604
* The Scene that owns this plugin is transitioning in.
15841605
*

0 commit comments

Comments
 (0)