arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
Element.matches
arsd
dom
Element
If the element matches the given selector. Previously known as
matchesSelector
.
class
Element
@
scriptable
bool
matches
(
string
selector
)
Meta
Source
See Implementation
arsd
dom
Element
aliases
classNames
getElementsBySelector
textContent
constructors
this
functions
absoluteLeft
absoluteTop
addChild
addChildren
addClass
addField
addSibling
addSubmitButton
appendChild
appendChildren
appendHtml
appendSibling
appendText
cloneNode
closest
firstInnerText
getAttribute
getElementById
getElementsByClassName
getElementsByTagName
getParent
hasAttribute
hasClass
insertAfter
insertBefore
insertChildAfter
isEmpty
matches
nextInSource
nodeValue
opIndex
optionSelector
parentNode
prependChild
prependSibling
previousInSource
querySelector
querySelectorAll
removeAllChildren
removeAttribute
removeChild
removeChildren
removeClass
removeFromTree
reparent
replaceChild
replaceWith
requireElementById
requireSelector
setAttribute
stealChildren
stripOut
swapNode
toPrettyString
toString
visibleText
wrapIn
writeToAppender
properties
attrs
childElements
childNodes
classList
className
classes
cloned
computedStyle
dataset
directText
firstChild
innerHTML
innerRawSource
innerText
lastChild
nextElementSibling
nextSibling
nodeType
opDispatch
outerHTML
outerText
parentDocument
previousElementSibling
previousSibling
style
tree
static functions
make
structs
ClassListHelper
variables
attributes
expansionHook
hasLayout
offsetHeight
offsetLeft
offsetParent
offsetTop
offsetWidth
tagName
zIndex
If the element matches the given selector. Previously known as matchesSelector.