DEV Community

Discussion on: Lets Build Web Components! Part 1: The Standards

Collapse
 
bennypowers profile image
Benny Powers 🇮🇱🇨🇦

Hey Eric thanks for dropping by 🍻

content is a read-only property on HTMLTemplateElement that's not provided on other elements. It's purpose is to give you a handle on the template's contents as a DocumentFragment, so that you can clone it.