Skip to content

Automatically append select_all: true to DOM-Method DSL #2

@marcoroth

Description

@marcoroth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions