code: function initBBox(props, eventType) {
    // eslint-disable-line no-unused-vars
    var docBBox = getBBox(document.documentElement),
        elementBBox = props.elementBBox = props.initElm(props),
        // reset offset etc.
    containmentBBox = props.containmentBBox = props.containmentIsBBox ? resolvePPBBox(props.options.containment, docBBox) || docBBox : getBBox(props.options.containment, true);
    props.minLeft = containmentBBox.left;
    props.maxLeft = containmentBBox.right - elementBBox.width;
    props.minTop = containmentBBox.top;
    props.maxTop = containmentBBox.bottom - elementBBox.height;
    // Adjust position
    move(props, { left: elementBBox.left, top: elementBBox.top });
  }
docs: Set `elementBBox`, `containmentBBox`, `min/max``Left/Top` and `snapTargets`.
  @param {props} props - `props` of instance.
  @param {string} [eventType] - A type of event that kicked this method.
  @returns {void}