lesson
Chapter Two SummaryFullstack Web ComponentsReviewing the work completed on the form-associated custom element TextInputComponent.
lesson
Making a formFullstack Web ComponentsYou'll update the Story and provide the missing APIs to TextInputComponent that allow the component to fully interact with a HTML form.
lesson
Emulating HTMLInputElementFullstack Web ComponentsWe've created a problem by encapsulating the HTMLInputElement by Shadow DOM. The HTMLInputElement API cann't be accessed by the outside world. In this section, you'll fix that by implementing getters and setters that emulate the HTMLInputElement on TextInputComponent.
lesson
User feedbackFullstack Web ComponentsYou'll style the various interaction states of the TextInputComponent form-associated custom element.
lesson
Listening for attribute changesFullstack Web ComponentsUsing observedAttributes and attributeChangedCallback to listen and react to changes in custom element attributes.
lesson
Handling ValidationFullstack Web ComponentsForm-associated custom elements don't come with a pattern that validates an entire form, so you'll implement a pattern that allows form validation.
lesson
Form Associated and ElementInternalsFullstack Web ComponentsYou'll learn what distinguises a form-associated custom element from an autonomous custom element, the formAssociated property and ElementInternals interface.
lesson
TextInputComponentFullstack Web ComponentsScaffold a form-associated custom element named TextInputComponent in Storybook.
lesson
Form-associated custom elementsFullstack Web ComponentsForm-associated custom elements allow custom elements to participate in HTML forms. From validation to submission, you'll code a text input end-to-end.
lesson
Chapter One SummaryFullstack Web ComponentsYou built an autonomous custom element with Shadow DOM, HTML templates, and ES Modules. Let's reflect on that.
lesson
Styling CardComponentFullstack Web ComponentsShadow DOM provides encapsulation for styling and template. You'll style CardComponent with CSS in the context of the autonomous custom element's Shadow DOM.
lesson
Template SlotsFullstack Web ComponentsBefore you can develop the CardComponent, you'll need to scaffold the component in Storybook.