@arcmantle/adapter-element
Preparing search index...
shared/css
EnhancedCSSStyleSheet
Class EnhancedCSSStyleSheet
Hierarchy
CSSStyleSheet
EnhancedCSSStyleSheet
Index
Constructors
constructor
Properties
css
Rules
disabled
href
owner
Node
owner
Rule
parent
Style
Sheet
rules
text
title
type
Accessors
media
Methods
add
Rule
delete
Rule
insert
Rule
remove
Rule
replace
replace
Sync
to
String
Constructors
constructor
new
EnhancedCSSStyleSheet
(
options
?:
CSSStyleSheetInit
)
:
EnhancedCSSStyleSheet
Parameters
Optional
options
:
CSSStyleSheetInit
Returns
EnhancedCSSStyleSheet
Properties
Readonly
css
Rules
cssRules
:
CSSRuleList
MDN Reference
disabled
disabled
:
boolean
MDN Reference
Readonly
href
href
:
null
|
string
MDN Reference
Readonly
owner
Node
ownerNode
:
null
|
Element
|
ProcessingInstruction
MDN Reference
Readonly
owner
Rule
ownerRule
:
null
|
CSSRule
MDN Reference
Readonly
parent
Style
Sheet
parentStyleSheet
:
null
|
CSSStyleSheet
MDN Reference
Readonly
rules
rules
:
CSSRuleList
Deprecated
MDN Reference
text
text
:
string
Readonly
title
title
:
null
|
string
MDN Reference
Readonly
type
type
:
string
MDN Reference
Accessors
media
get
media
()
:
MediaList
MDN Reference
Returns
MediaList
set
media
(
mediaText
:
string
)
:
void
Parameters
mediaText
:
string
Returns
void
Methods
add
Rule
addRule
(
selector
?:
string
,
style
?:
string
,
index
?:
number
)
:
number
Parameters
Optional
selector
:
string
Optional
style
:
string
Optional
index
:
number
Returns
number
Deprecated
MDN Reference
delete
Rule
deleteRule
(
index
:
number
)
:
void
MDN Reference
Parameters
index
:
number
Returns
void
insert
Rule
insertRule
(
rule
:
string
,
index
?:
number
)
:
number
MDN Reference
Parameters
rule
:
string
Optional
index
:
number
Returns
number
remove
Rule
removeRule
(
index
?:
number
)
:
void
Parameters
Optional
index
:
number
Returns
void
Deprecated
MDN Reference
replace
replace
(
text
:
string
)
:
Promise
<
CSSStyleSheet
>
MDN Reference
Parameters
text
:
string
Returns
Promise
<
CSSStyleSheet
>
replace
Sync
replaceSync
(
text
:
string
)
:
void
MDN Reference
Parameters
text
:
string
Returns
void
to
String
toString
()
:
string
Returns a string representation of an object.
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
css
Rules
disabled
href
owner
Node
owner
Rule
parent
Style
Sheet
rules
text
title
type
Accessors
media
Methods
add
Rule
delete
Rule
insert
Rule
remove
Rule
replace
replace
Sync
to
String
@arcmantle/adapter-element
Loading...
MDN Reference