TemplateBuilder
The builder is bundled in the NPM package @tmorin/ceb-elements-builders.
The builder handles the integration of a templating solution to update the content of the Custom Element.
The builder doesn't provide the templating solution out of the box. However, the library provides a built-in solution described later, c.f. Templating .
Challenge yourself
Will you be able to ...
- display
Hello, John Doe!
calling therender
method? - render into a Shadow DOM?
- render into a Grey DOM?
See the Pen <ceb/> ~ challenge/TemplateBuilder by Thibault Morin (@tmorin) on CodePen.