dist/amd.riotx+riot.js
function setMountState(value) {
      var ref = this.__;
      var isAnonymous = ref.isAnonymous;

      define(this, 'isMounted', value);

      if (!isAnonymous) {
        if (value) { this.trigger('mount'); }
        else {
          this.trigger('unmount');
          this.off('*');
          this.__.wasCreated = false;
        }
      }
    }
function setMountState(value) {
      var ref = this.__;
      var isAnonymous = ref.isAnonymous;

      define(this, 'isMounted', value);

      if (!isAnonymous) {
        if (value) { this.trigger('mount'); }
        else {
          this.trigger('unmount');
          this.off('*');
          this.__.wasCreated = false;
        }
      }
    }
function setMountState ( value ) { var ref = this . __ ; var isAnonymous = ref . isAnonymous ; define ( this , 'isMounted' , value ) ; if ( ! isAnonymous ) { if ( value ) { this . trigger ( 'mount' ) ; } else { this . trigger ( 'unmount' ) ; this . off ( '*' ) ; this . __ . wasCreated = false ; } } }
Manage the mount state of a tag triggering also the observable events
@this Tag
@param { Boolean } value - ..of the isMounted flag
Manage the mount state of a tag triggering also the observable events