src code

instance method Event#findElement

Event#findElement(expression) → Element

Returns the first DOM element that matches a given CSS selector — starting with the element on which the event occurred, then moving up its ancestor chain.

This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.