IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\CSSStyleSheet Interface Reference
+ Inheritance diagram for Wikimedia\IDLeDOM\CSSStyleSheet:

Public Member Functions

CSSRule null getOwnerRule ()
 
CSSRuleList getCssRules ()
 
int insertRule (string $rule, int $index=0)
 
void deleteRule (int $index)
 
void replaceSync (string $text)
 
CSSRuleList getRules ()
 
int addRule (string $selector='undefined', string $style='undefined', ?int $index=null)
 
void removeRule (int $index=0)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\StyleSheet
string getType ()
 
string getHref ()
 
Element ProcessingInstruction null getOwnerNode ()
 
CSSStyleSheet null getParentStyleSheet ()
 
string getTitle ()
 
MediaList getMedia ()
 
 setMedia (?string $val)
 
bool getDisabled ()
 
 setDisabled (bool $val)
 

Member Function Documentation

◆ addRule()

int Wikimedia\IDLeDOM\CSSStyleSheet::addRule ( string $selector = 'undefined',
string $style = 'undefined',
?int $index = null )
Parameters
string$selector
string$style
?int$index
Returns
int

◆ deleteRule()

void Wikimedia\IDLeDOM\CSSStyleSheet::deleteRule ( int $index)
Parameters
int$index
Returns
void

◆ getCssRules()

CSSRuleList Wikimedia\IDLeDOM\CSSStyleSheet::getCssRules ( )
Returns
CSSRuleList

◆ getOwnerRule()

CSSRule null Wikimedia\IDLeDOM\CSSStyleSheet::getOwnerRule ( )
Returns
CSSRule|null

◆ getRules()

CSSRuleList Wikimedia\IDLeDOM\CSSStyleSheet::getRules ( )
Returns
CSSRuleList

◆ insertRule()

int Wikimedia\IDLeDOM\CSSStyleSheet::insertRule ( string $rule,
int $index = 0 )
Parameters
string$rule
int$index
Returns
int

◆ removeRule()

void Wikimedia\IDLeDOM\CSSStyleSheet::removeRule ( int $index = 0)
Parameters
int$index
Returns
void

◆ replaceSync()

void Wikimedia\IDLeDOM\CSSStyleSheet::replaceSync ( string $text)
Parameters
string$text
Returns
void

The documentation for this interface was generated from the following file: