The idea of the methods in the "DOM-Method" DSL is to potentially query multiple DOM nodes. With that it would make sense if dom, selector and css would automatically append the option select_all: true.
|
def dom(selector) |
|
::CableReady::Dsl::SelectorString.new(selector) |
|
end |
|
|
|
def selector(selector) |
|
dom(selector) |
|
end |
|
|
|
def css(selector) |
|
dom(selector) |
|
end |
Maybe also a css_classes method would make sense. The select_all: true would also apply for that.
The idea of the methods in the "DOM-Method" DSL is to potentially query multiple DOM nodes. With that it would make sense if
dom,selectorandcsswould automatically append the optionselect_all: true.cable_ready-dsl/lib/cable_ready/dsl/method_dsl.rb
Lines 6 to 16 in 275d655
Maybe also a
css_classesmethod would make sense. Theselect_all: truewould also apply for that.