ElementGetClosest Op

ElementGetClosest

get the closest parent element matching the query selector


Traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.


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


INPUT PORTS


HTML Element (Object:element)

input element

Query (String)

css selector

OUTPUT PORTS


Element (Object)

closest element


 

Patches using ElementGetClosest

  • Examples
  • Public
  • My Patches

Changelog


new opop createduser avatarstephan - 2025-04-07 11:37