CHAPTER 8

image

Using Dart to Interact with HTML

Dart was originally designed primarily for client-side web development. In this chapter, we take Dart to the Web in a big way. You will learn how to use Dart to interact with every part of a web page. There are multiple popular libraries for doing client-side web development with Dart, including two popular Google-sponsored projects: Polymer.dart and Angular.dart. In this book, we will be using the more primitive dart:html library, which is included in the base Dart SDK. It provides a good jumping-off point for the study of other libraries. Take note that when you create a new project in Dart Editor, ...

Get Dart for Absolute Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.