AttributeBuilder
The builder is bundled in the NPM package @tmorin/ceb-elements-builders.
The builder handles the initialization of an attribute as well as the registration of its listeners.
Challenge yourself
Will you be able to ...
- display Hello, John Doe!just setting the attributename?
- change the attribute name to alt-namewithout changing the method name?
See the Pen <ceb/> ~ challenge/AttributeBuilder by Thibault Morin (@tmorin) on CodePen.