QuerySelector_v2 Op

QuerySelector

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Html.QuerySelector_v3

Selects an element in the DOM


If you want to do something with an element, you can get it from the DOM using QuerySelector. See developer.mozilla.org – querySelector.


Full Name
  • Ops.Html.QuerySelector_v2
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorgithubMaintained by Team


INPUT PORTS


Update (Trigger)
Query (String)

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

Mode index (Number: integer)
Type index (Number: integer)
Document (String)

OUTPUT PORTS


Element (Object)

The first element which can be found using the query or null (no results)


Changelog

Patches using QuerySelector_v2

  • Examples
  • Public
  • My Patches