Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Foreword

Preface

Acknowledgments

About this book

About the cover illustration

1. First steps

Chapter 1. The framework without a framework

1.1. What are Web Components?

1.1.1. The date picker

1.1.2. The Shadow DOM

1.1.3. What do people mean when they say Web Components?

1.1.4. The problematic history of HTML Imports

1.1.5. Polymer Library and X-Tags

1.1.6. Modern Web Components

1.2. The future of Web Components

1.3. Beyond the single component

1.3.1. Web Components are just like any other DOM element

1.3.2. From individual component to application

1.4. Your project, your choice

Summary

Chapter 2. Your first Web Component

2.1. Intro to HTMLElement

2.1.1. Crash course in inheritance

2.1.2. Inheritance in your favorite elements

2.2. Rules for naming your element

2.3. Defining your custom element (and handling collisions)

2.4. Extending HTMLElement to create custom component logic

2.5. Using your custom element in practice

2.6. Making a (useful) first component

2.6.1. Setting up our web server

2.6.2. Writing our HTML tag