code: function insidePoint(element, x, y) {
          let offset = element.offset();
          if (x < offset.left || offset.left + element.outerWidth(true) < x)
            return false;
          if (y < offset.top || offset.top + element.outerHeight(true) < y)
            return false;
          return true;
        }
docs: function definitions