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 ...

  1. display Hello, John Doe! just setting the attribute name?
  2. change the attribute name to alt-name without changing the method name?

See the Pen <ceb/> ~ challenge/AttributeBuilder by Thibault Morin (@tmorin) on CodePen.