code: function checkInside(event, element) {
    let c = pointerPosition(event);
    let current = document.elementFromPoint(c.x, c.y);
    return isOneOf(element._el, current, current.parentNode, current.parentNode.parentNode);
  }
docs: ----------------------------------------------------------------------------- Pointer Events