public static final boolean isMouseInside ( NativeEvent event , Element element ) { return isInside ( event . getClientX ( ) + Window . getScrollLeft ( ) , event . getClientY ( ) + Window . getScrollTop ( ) , getBounds ( element ) ) ; }
Determines if a mouse event is inside a box .