beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

QuerySelectorAll Op

Ops.Html.QuerySelectorAll


QuerySelectorAll
Namespace: Ops.Html

Op author: stephan

Selects all matching elements in the DOM


summary (oneliner)

If you want to do something withmultiple elements, you can get it from the DOM using QuerySelectorAll. See developer.mozilla.org – querySelector.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Update (Trigger)

Query (String)

E.g. ".some-classname", '#some-id' or "footer"


Mode index (integer /Number)

Type index (integer /Number)

Document (String)

Outputs

Elements (Array)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Example: QuerySelector and QuerySelectorAll

Open Example In Editor


Patches using QuerySelectorAll

Changelog


created op
2020-02-19 - tim

cloned op from Ops.Html.QuerySelector_v2
2021-11-16 - stephan

Ops.User.stephan.QuerySelectorAll renamed to Ops.Html.QuerySelectorAll
2021-11-19 - stephan