Advertisement

Using Dart to Interact with HTML

  • David Kopec
Chapter

Abstract

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, you should be selecting the project type “Web application” and not “Web application (using the Polymer library),” as you work through this chapter and the rest of the book.

Keywords

Radio Button Document Object Model Event Listener Memory Game Product Page 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© David Kopec 2014

Authors and Affiliations

  • David Kopec
    • 1
  1. 1.NYUnited States

Personalised recommendations