tiveElement.hasAttribute(name)) {
              this.activeElement.removeAttribute(name);
            } else {
              this._setPropertyOrValue(name, false, isAttribute);
            }
          } else {
            this._setPropertyOrValue(name, value, isAttribute);
          }
        }
        this.$.treeView.recomputeTree(this.$.viewContainer, this.activeElement);
        return previousValue;
      }

      _setPropertyOrValue(name, value, isAttribute) {
        if (isAttribute) {
          this.