addRule method

int addRule(String selector, String style, [ int index ])

Source

int addRule(String selector, String style, [int index]) {
  if (index != null) {
    return _blink.BlinkCSSStyleSheet.instance
        .addRule_Callback_3_(this, selector, style, index);
  }
  return _blink.BlinkCSSStyleSheet.instance
      .addRule_Callback_2_(this, selector, style);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/CssStyleSheet/addRule.html