dart:html

The library that we will use to interact and manipulate objects in a web page is dart:html. We will talk more about libraries in Chapter 10, Libraries. For now, just think of them like libraries from any other language (except JavaScript, of course)—a mechanism for encapsulating logically and physically separate functionality.

The dart:html library is not your grandmother’s DOM API. The dart:html core library is Dart’s take on what DOM programming should have been like from the beginning.

Get Dart 1 for Everyone now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.