1.

Record Nr.

UNINA9910483611603321

Autore

Krause Jörg <1964->

Titolo

Developing web components with typescript : native web development using thin libraries / / Jorg Krause

Pubbl/distr/stampa

[Place of publication not identified] : , : Apress, , [2021]

©2021

ISBN

1-4842-6840-7

Edizione

[1st ed. 2021.]

Descrizione fisica

1 online resource (XXII, 266 p. 35 illus.)

Disciplina

005.276

Soggetti

Internet programming

Web applications

TypeScript (Computer program language)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Nota di contenuto

Chapter 1: Introduction -- Chapter 2: Making Components -- Chapter 3: Shadow DOM -- Chapter 4: Events -- Chapter 5: Templates -- Chapter 6: Slots -- Chapter 7: Components and Styles -- Chapter 8: Making Single Page Apps -- Chapter 9: Professional Components.

Sommario/riassunto

Create professional and progressive web apps with the native HTML API on the latest technology stack. This book describes the basics of web components and how to create them using plain JavaScript as well as how to make professional applications based on web components using TypeScript. Developing Web Components with TypeScript looks at APIs using examples, techniques, and tricks. You will start with a brief introduction to web components, including slots and templates, handling custom events, and styling components with or without shadow DOM. Then, it introduces TypeScript as part of the tool set. It shows the internal construction of a professional thin library. It also helps you learn how to deal with web components in real-life projects; this includes techniques such as creating a single-page app without framework code. All code samples used here are supported by all modern browsers for you to follow along. Library code and examples are available on GitHub. You will: Create isolated web components using shadow DOM, slots, and templates Understand the advantage of



an enhanced toolset, especially TypeScript Pick up styles and customizations Master professional web apps using native APIs Understand the life cycle of a component.