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 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.