set parentContainment(value) {
    const isTruthy = stringToBool(value);

    if (isTruthy) {
      if (this.getAttribute(attributes.PARENT_CONTAINMENT) !== '') {
        this.setAttribute(attributes.PARENT_CONTAINMENT, '');
      }
    } else if (!isTruthy && this.hasAttribute(attributes.PARENT_CONTAINMENT)) {
      this.removeAttribute(attributes.PARENT_CONTAINMENT);
    }
  }
/**
   * @param {boolean} value Whether the draggable should be limited in range
   * by its parent element
   */
@param {boolean} value Whether the draggable should be limited in range
by its parent element
@param { boolean } value Whether the draggable should be limited in range by its parent element
set parentContainment(value) {
    const isTruthy = stringToBool(value);
    if (isTruthy) {
      if (this.getAttribute(attributes.PARENT_CONTAINMENT) !== '') {
        this.setAttribute(attributes.PARENT_CONTAINMENT, '');
      }
    } else if (!isTruthy && this.hasAttribute(attributes.PARENT_CONTAINMENT)) {
      this.removeAttribute(attributes.PARENT_CONTAINMENT);
    }
  }
set parentContainment ( value ) { const isTruthy = stringToBool ( value ) ; if ( isTruthy ) { if ( this . getAttribute ( attributes . PARENT_CONTAINMENT ) !== '' ) { this . setAttribute ( attributes . PARENT_CONTAINMENT , '' ) ; } } else if ( ! isTruthy && this . hasAttribute ( attributes . PARENT_CONTAINMENT ) ) { this . removeAttribute ( attributes . PARENT_CONTAINMENT ) ; } }
@param {boolean} value Whether the draggable should be limited in range
 by its parent element
@param { boolean } value Whether the draggable should be limited in range by its parent element