@dojo-ng/email-input
v0.1.0
Published
Dojo NG email-input web component
Readme
@dojo-ng/email-input
<dj-email-input> — A text input defaulting to type="email" (native email validation).
Part of Dojo NG, a framework-agnostic web component library built on Lit. BSD-3-Clause.
Extends DjTextInput and inherits its properties and behavior.
Install
npm install @dojo-ng/email-inputUsage
Import the package to register the custom element, then use the tag.
Defaults to type="email"; native email validity applies.
<dj-email-input label="Email" required></dj-email-input>Properties
↻ marks an attribute reflected to the DOM; a dash means the property is set in JavaScript only.
| Property | Attribute | Type | Default |
|---|---|---|---|
| type | type | TextInputType | "email" |
Theming
Styled with Dojo NG --dj-* design tokens and exposes ::part() hooks for targeted overrides.
Accessibility and i18n
Follows the project's WCAG 2.2 AA and localization conventions.
More
Live, interactive examples are in the playground (playground/index.html). For the full API reference, theming, accessibility, and localization guides, see the Dojo NG documentation.
