getElementsByClassName method

  1. @DomName('Element.getElementsByClassName')
  2. @DocsEditable()
List<Node> getElementsByClassName(String classNames)

Returns a list of nodes with the given class name inside this element.

Other resources

Source

@DomName('Element.getElementsByClassName')
@DocsEditable()
List<Node> getElementsByClassName(String classNames) =>
    (_blink.BlinkElement.instance
        .getElementsByClassName_Callback_1_(this, classNames));

© 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/Element/getElementsByClassName.html