addTargets method

void addTargets(
  1. Iterable<Element> elements,
  2. {bool drag = true,
  3. bool over = true,
  4. bool out = true}
)

Add targets to the set

Implementation

void addTargets(Iterable<Element> elements, {bool drag: true, bool over: true, bool out:true}) {
  _logger.fine("adding ${elements.length} elements, drag: $drag, over: $over, out: $out");
  for(Element element in elements) {
    addTarget(element, drag: drag, over: over, out: out);
  }
}