deleteRule
(method
)
Owning interface and usage:
CSSMediaRule.
deleteRule(
index)
Member of these other interfaces:
none
Description:
Used to delete a rule from the media block.
Parameters:
unsigned index |
- |
The index within the media block's rule collection 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 media rule list.
- DOMException NO_MODIFICATION_ALLOWED_ERR
-
Raised if this media rule is readonly.