The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SelectorComponent
arsd
dom
.
struct
SelectorComponent {
SelectorPart
[]
parts
;
string
toString
();
Element
[]
getElements
(Element start, Element relativeTo);
bool
matchElement
(Element e, Element relativeTo);
static
SelectorComponent
fromString
(string selector);
}
Members
Functions
getElements
Element
[]
getElements
(Element start, Element relativeTo)
.
matchElement
bool
matchElement
(Element e, Element relativeTo)
If relativeTo == null, it assumes the root of the parent document.
toString
string
toString
()
.
Static functions
fromString
SelectorComponent
fromString
(string selector)
.
Variables
parts
SelectorPart
[]
parts
;
.
Meta
Source
See Implementation
arsd
dom
aliases
EventHandler
classes
AspCode
BangInstruction
CssStyle
Document
DocumentFragment
Element
ElementNotFoundException
ElementStream
Event
Form
HtmlComment
Link
MarkupException
PhpCode
QuestionInstruction
RawSource
ServerSideCode
SpecialElement
Stack
StyleSheet
Table
TableCell
TableRow
TextNode
XmlDocument
enums
NodeType
functions
camelCase
defaultComputedStyleFactory
findComments
getElementsBySelectorParts
htmlEntitiesDecode
htmlEntitiesEncode
idToken
intFromHex
lexSelector
normalizeWhitespace
parseEntity
parseSelector
parseSelectorString
removeDuplicates
require
unCamelCase
xmlEntitiesEncode
interfaces
FileResource
mixin templates
JavascriptStyleDispatch
static variables
selectorTokens
structs
AttributeSet
DataSet
ElementCollection
ElementStyle
FormFieldOptions
Html
MaybeNullElement
Selector
SelectorComponent
SelectorPart
variables
computedStyleFactory
.