ElementEquals Op
Check if two HTML element objects are equal
Summary (oneliner)
Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on.
https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode
Full Name
- Ops.Html.ElementEquals
- Core Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ElementEquals example
INPUT PORTS
HTML Element (Object:element)
input element
HTML Element 2 (Object:element)
element to compare with
OUTPUT PORTS
Equal (booleanNumber)
result