Class CssSelector
simple CSS selector
Currently supports only element name and universal selector.
- * { } - universal selector - element-name { } - selector by element name - element1, element2 { } - several selectors delimited by comma
Inherits from
-
Object
(base class)
Constructors
Name | Description |
---|---|
this
|
Properties
Name | Type | Description |
---|---|---|
id
[get]
|
int |
get element tag id (0 - any tag)
|
id
[set]
|
int |
set element tag id (0 - any tag)
|
Methods
Name | Description |
---|---|
apply
|
apply to style if selector matches
|
check
|
check if selector rules match this node
|
insertRuleAfterStart
|
|
insertRuleStart
|
|
setDeclaration
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2015
License
Boost License 1.0