deleteRule
(method
)
Owning interface and usage:
CSSStyleSheet.
deleteRule(
index)
Member of these other interfaces:
none
Description:
Used to delete a rule from the style sheet.
Parameters:
unsigned index |
- |
The index within the style sheet's rule list of the rule to remove.
|
Returns:
nothing
Exceptions:
- DOMException INDEX_SIZE_ERR
-
Raised if the specified index does not correspond to a rule in the style sheet's rule list.
- DOMException NO_MODIFICATION_ALLOWED_ERR
-
Raised if this style sheet is readonly.