Chapter 5. Custom Input Components

In this chapter, we will cover the following:

  • Using contentEditable for basic rich text input
  • Advanced rich text input
  • Creating a drop-down menu
  • Creating custom dialogs
  • Creating autocomplete for input
  • Creating a custom single-selection list
  • Creating a multiple-selection list
  • Geographic location input using maps

Introduction

So far, we presented several different ways for getting input from the user. HTML5 offers many new features that enable the functionality of input components that was previously done with JavaScript.

Often, there comes the need to extend this standard functionality. In this chapter, we will see ways for creating some custom input components and using the already available ones, where we add additional ...

Get HTML5 Data and Services Cookbook 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.