Selects an element in the DOM
Summary (oneliner)
If you want to do something with an element, you can get it from the DOM using QuerySelector. See developer.mozilla.org – querySelector.
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
Update (Trigger)
Query (String)
E.g. ".some-classname", '#some-id' or "footer"
Mode index (integer /Number)
Type index (integer /Number)
Document (String)
Outputs
Element (Object)
The first element which can be found using the query or null (no results)
Patches using QuerySelector_v2
Changelog
created op 2020-02-19 - tim |