set disabled(value) {
    const isValueTruthy = stringToBool(value);

    if (isValueTruthy) {
      this.setAttribute(attributes.DISABLED, true);
      this.input?.setAttribute?.(attributes.DISABLED, true);
      this.container.classList.add('disabled');
      this.setAttribute('tabindex', '-1');

      this.#incrementButton?.setAttribute?.(attributes.DISABLED, '');
      this.#decrementButton?.setAttribute?.(attributes.DISABLED, '');
    } else {
      this.removeAttribute?.(attributes.DISABLED);
      this.input?.removeAttribute?.(attributes.DISABLED);
      this.container.classList.remove('disabled');
      this.removeAttribute('tabindex');

      if (!this.hasAttribute(attributes.READONLY)) {
        this.#incrementButton?.removeAttribute?.(attributes.DISABLED);
        this.#decrementButton?.removeAttribute?.(attributes.DISABLED);
      }
    }
  }
/**
   * @param {boolean|string} value whether or not spinbox
   * interaction is disabled
   */
@param {boolean|string} value whether or not spinbox
interaction is disabled
@param { boolean|string } value whether or not spinbox interaction is disabled
set disabled(value) {
    const isValueTruthy = stringToBool(value);
    if (isValueTruthy) {
      this.setAttribute(attributes.DISABLED, true);
      this.input?.setAttribute?.(attributes.DISABLED, true);
      this.container.classList.add('disabled');
      this.setAttribute('tabindex', '-1');
      this.#incrementButton?.setAttribute?.(attributes.DISABLED, '');
      this.#decrementButton?.setAttribute?.(attributes.DISABLED, '');
    } else {
      this.removeAttribute?.(attributes.DISABLED);
      this.input?.removeAttribute?.(attributes.DISABLED);
      this.container.classList.remove('disabled');
      this.removeAttribute('tabindex');
      if (!this.hasAttribute(attributes.READONLY)) {
        this.#incrementButton?.removeAttribute?.(attributes.DISABLED);
        this.#decrementButton?.removeAttribute?.(attributes.DISABLED);
      }
    }
  }
set disabled ( value ) { const isValueTruthy = stringToBool ( value ) ; if ( isValueTruthy ) { this . setAttribute ( attributes . DISABLED , true ) ; this . input ?. setAttribute ?. ( attributes . DISABLED , true ) ; this . container . classList . add ( 'disabled' ) ; this . setAttribute ( 'tabindex' , '-1' ) ; this . #incrementButton ?. setAttribute ?. ( attributes . DISABLED , '' ) ; this . #decrementButton ?. setAttribute ?. ( attributes . DISABLED , '' ) ; } else { this . removeAttribute ?. ( attributes . DISABLED ) ; this . input ?. removeAttribute ?. ( attributes . DISABLED ) ; this . container . classList . remove ( 'disabled' ) ; this . removeAttribute ( 'tabindex' ) ; if ( ! this . hasAttribute ( attributes . READONLY ) ) { this . #incrementButton ?. removeAttribute ?. ( attributes . DISABLED ) ; this . #decrementButton ?. removeAttribute ?. ( attributes . DISABLED ) ; } } }
@param {boolean|string} value whether or not spinbox
 interaction is disabled
@param { boolean|string } value whether or not spinbox interaction is disabled