Split from #32 by request.
some way to select only elements that have a particular event handler. In this example, find the div with the onClick handler, and ignore the other divs:
div []
[ div []
[ div [ onClick MyMsg ]
[ div [] [ text "Click me" ] ]
, div [] []
]
, div [] []
]
Possible API:
Query.find [ tag "div", withHandler "click" ]