getElementsByClassName method

List<Element> getElementsByClassName(
  1. String classNames
)
inherited

Implementation

List<Element> getElementsByClassName(String classNames) =>
    querySelectorAll(classNames.splitMapJoin(' ',
        onNonMatch: (m) => m.isNotEmpty ? '.$m' : m, onMatch: (m) => ''));