src/console/simpleyui.js
function(what) {
        this.monitored = true;
        var type = this.id + '|' + this.type + '_' + what,
            args = Y.Array(arguments, 0, true);
        args[0] = type;
        return this.host.on.apply(this.host, args);
    }
function(what) {
        this.monitored = true;
        var type = this.id + '|' + this.type + '_' + what,
            args = Y.Array(arguments, 0, true);
        args[0] = type;
        return this.host.on.apply(this.host, args);
    }
function ( what ) { this . monitored = true ; var type = this . id + '|' + this . type + '_' + what , args = Y . Array ( arguments , 0 , true ) ; args [ 0 ] = type ; return this . host . on . apply ( this . host , args ) ; }
Monitor the event state for the subscribed event.  The first parameter
is what should be monitored, the rest are the normal parameters when
subscribing to an event.
@method monitor
@param what {string} what to monitor ('detach', 'attach', 'publish')
@return {EventHandle} return value from the monitor event subscription
Monitor the event state for the subscribed event . The first parameter is what should be monitored the rest are the normal parameters when subscribing to an event .