Lines Matching refs:handler
1618 EmitterMixin.prototype.on = function (types, handler) {
1619 $(this).on(types, this._prepareIntercept(handler));
1622 EmitterMixin.prototype.one = function (types, handler) {
1623 $(this).one(types, this._prepareIntercept(handler));
1626 EmitterMixin.prototype._prepareIntercept = function (handler) {
1631 return handler.apply(extra.context || this, extra.args || []);
1637 if (!handler.guid) {
1638 handler.guid = $.guid++;
1640 intercept.guid = handler.guid;
1643 EmitterMixin.prototype.off = function (types, handler) {
1644 $(this).off(types, handler);
3585 InteractiveDateComponent.prototype.bindDateHandlerToEl = function (el, name, handler) {
3595 return handler.call(_this, ev);
3610 InteractiveDateComponent.prototype.bindSegHandlerToEl = function (el, name, handler) {
3617 return handler.call(_this, seg, ev); // context will be the Grid
5392 var bind = function (eventName, handler) {
5393 _this.on(eventName, handler);
5394 bindTuples.push([eventName, handler]);