@jable/web-components
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

@jable/web-components

Fancy jable web components.

Textbox

Example

<jb-textbox>
    <label>Email</label>
    <input type="email" required>
    <jb-helper>Enter your email</jb-helper>
    <jb-error required>Email is required</jb-error>
    <jb-error type>Not a valid email!</jb-error>
</jb-textbox>

Errors

bad - badInput

custom - customError

required - valueMissing

pattern - patternMismatch

max - rangeOverflow

min - rangeUnderflow

step - stepMismatch

maxlength - tooLong

type - typeMismatch

Package Sidebar

Install

npm i @jable/web-components

Weekly Downloads

0

Version

2.0.2

License

MIT

Last publish

Collaborators

  • jable