set arrow(val) {
    const currentVal = this.#arrow;
    let trueVal = ARROW_TYPES[0];
    if (val && ARROW_TYPES.includes(val)) {
      trueVal = val;
    }

    if (trueVal !== currentVal) {
      this.#arrow = trueVal;
      if (trueVal !== ARROW_TYPES[0]) {
        this.setAttribute(attributes.ARROW, `${trueVal}`);
      } else {
        this.removeAttribute(attributes.ARROW);
      }
      this.#setArrowDirection(currentVal, trueVal);
    }
  }
/**
   * Specifies whether to show the Popup Arrow, and in which direction.
   * The direction is in relation to the alignment setting. So for example of you align: top
   * you want arrow: top as well.
   * @param {string|null} val the arrow direction.  Defaults to `none`
   */
Specifies whether to show the Popup Arrow, and in which direction.
The direction is in relation to the alignment setting. So for example of you align: top
you want arrow: top as well.
@param {string|null} val the arrow direction.  Defaults to `none`
Specifies whether to show the Popup Arrow and in which direction . The direction is in relation to the alignment setting . So for example of you align : top you want arrow : top as well . @param { string|null } val the arrow direction . Defaults to ` none `
set arrow(val) {
    const currentVal = this.#arrow;
    let trueVal = ARROW_TYPES[0];
    if (val && ARROW_TYPES.includes(val)) {
      trueVal = val;
    }
    if (trueVal !== currentVal) {
      this.#arrow = trueVal;
      if (trueVal !== ARROW_TYPES[0]) {
        this.setAttribute(attributes.ARROW, `${trueVal}`);
      } else {
        this.removeAttribute(attributes.ARROW);
      }
      this.#setArrowDirection(currentVal, trueVal);
    }
  }
set arrow ( val ) { const currentVal = this . #arrow ; let trueVal = ARROW_TYPES [ 0 ] ; if ( val && ARROW_TYPES . includes ( val ) ) { trueVal = val ; } if ( trueVal !== currentVal ) { this . #arrow = trueVal ; if ( trueVal !== ARROW_TYPES [ 0 ] ) { this . setAttribute ( attributes . ARROW , ` ${ trueVal } ` ) ; } else { this . removeAttribute ( attributes . ARROW ) ; } this . #setArrowDirection ( currentVal , trueVal ) ; } }
Specifies whether to show the Popup Arrow, and in which direction.
Specifies whether to show the Popup Arrow and in which direction .