Book Image

DART Cookbook

By : Ivo Balbaert
Book Image

DART Cookbook

By: Ivo Balbaert

Overview of this book

Table of Contents (18 chapters)
Dart Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Handling Web Applications

In this chapter, we will cover the following recipes:

  • Responsive design

  • Sanitizing HTML

  • Using a browser's local storage

  • Using an application cache to work offline

  • Preventing an onSubmit event from reloading the page

  • Dynamically inserting rows in an HTML table

  • Using CORS headers

  • Using keyboard events

  • Enabling drag-and-drop

  • Enabling touch events

  • Creating a Chrome app

  • Structuring a game project

  • Using WebGL in your app

  • Authorizing OAuth2 to Google services

  • Talking with JavaScript

  • Using JavaScript libraries