set expanded(value) {
    if (shared.isBool(value)) {
      this.setAttribute(attributes.EXPANDED, `${value}`);
    } else {
      this.removeAttribute(attributes.EXPANDED);
    }
    this.#updateNodeAttribute(attributes.EXPANDED, true);
  }
/**
   * Sets the tree to be expanded
   * @param {boolean|string} value If true will set expanded attribute
   */
Sets the tree to be expanded
@param {boolean|string} value If true will set expanded attribute
Sets the tree to be expanded @param { boolean|string } value If true will set expanded attribute
set expanded(value) {
    if (shared.isBool(value)) {
      this.setAttribute(attributes.EXPANDED, `${value}`);
    } else {
      this.removeAttribute(attributes.EXPANDED);
    }
    this.#updateNodeAttribute(attributes.EXPANDED, true);
  }
set expanded ( value ) { if ( shared . isBool ( value ) ) { this . setAttribute ( attributes . EXPANDED , ` ${ value } ` ) ; } else { this . removeAttribute ( attributes . EXPANDED ) ; } this . #updateNodeAttribute ( attributes . EXPANDED , true ) ; }
Sets the tree to be expanded
 @param {boolean|string} value If true will set expanded attribute
Sets the tree to be expanded @param { boolean|string } value If true will set expanded attribute