Skip to content
This repository was archived by the owner on Sep 30, 2018. It is now read-only.

Commit d2e853d

Browse files
committedDec 23, 2013
Add View#find(selector) as shortcut of element.find(selector)
1 parent 6da369e commit d2e853d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎opal/vienna/view.rb

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ def tag_name
4646
:div
4747
end
4848

49+
def find(selector)
50+
element.find(selector)
51+
end
52+
4953
def setup_events
5054
return @dom_events if @dom_events
5155

0 commit comments

Comments
 (0)
This repository has been archived.