insertRule method

int insertRule(
  1. String rule, [
  2. int index
])

The insertRule() method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.

Implementation

external int insertRule(
  String rule, [
  int index,
]);