Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

ElementList now deprecated, use List<Element>

Posted by Seth Ladd

Earlier today, Vijay Menon (engineer on the Dart project) posted the following news:

As a simplification, we plan to remove NodeList and ElementList as public types in dart:html shortly.  We ask instead that you use List<Node> and List<Element> respectively (or just plain List).  You should be able to move to these types today.

This is good news for a further simplified and Dart-friendly HTML library interface.