© Matthew Duffield 2018
Matthew DuffieldPractical App Development with Aurelia https://doi.org/10.1007/978-1-4842-3402-0_13

13. Custom Elements

Matthew Duffield1 
(1)
West Linn, Oregon, USA
 

We have all probably written applications in which we have found ourselves creating the same markup over and over again. Situations like this make for an excellent candidate to create a custom element. In this chapter, we are going to take a look at what it takes to create custom elements, as well as use them in your application. When you finish this chapter, you will have a good knowledge of how to use custom elements in your applications.

What Are Custom Elements?

Let’s take a step back and ask ourselves what exactly is a custom element. A custom element is a ...

Get Practical App Development with Aurelia: Leverage the Power of Aurelia to Build Personal and Business Applications 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.