dist/zn.reactnative.js
function (name, handler, options) {
            if (handler) {
                var _handlers = this.__handlers__;
                var _listeners = _handlers[name] = _handlers[name] || [
                    {
                        owner: null,
                        handler: null,
                        context: null
                    }
                ];

                _listeners.push(zn.extend({
                    owner: this,
                    handler: handler
                }, options));
            }

            return this;
        }
function (name, handler, options) {
            if (handler) {
                var _handlers = this.__handlers__;
                var _listeners = _handlers[name] = _handlers[name] || [
                    {
                        owner: null,
                        handler: null,
                        context: null
                    }
                ];

                _listeners.push(zn.extend({
                    owner: this,
                    handler: handler
                }, options));
            }

            return this;
        }
function ( name , handler , options ) { if ( handler ) { var _handlers = this . __handlers__ ; var _listeners = _handlers [ name ] = _handlers [ name ] || [ { owner : null , handler : null , context : null } ] ; _listeners . push ( zn . extend ( { owner : this , handler : handler } , options ) ) ; } return this ; }
Add an event handler.
@method on
@param name {String}
@param handler {Function}
@param [options] {Object}
Add an event handler .