0.3.0 • Published 4 years ago

@simplr-wc/email-input v0.3.0

Weekly downloads
20
License
MIT
Repository
github
Last release
4 years ago

Simplr Email Input

Usage

Import
import '@simplr-wc/email-input';
Use
<simplr-email-input label="Label" icon="cancel"></simplr-email-input>

Properties

PropertyAttributeTypeDefaultDescription
autoValidateautoValidatebooleanfalseReport input validity on input rather than on blur
charCountercharCounterbooleanfalseEnable character counter of input field (! Required maxLength to be set !)
disableddisabledbooleanfalseIs input field disabled
errorMessageerrorMessagestring""Error message displayed on invalid input
fullWidthfullWidthbooleanfalseDoes input field use the full width of the field
helperPersistenthelperPersistentbooleanfalseDetermines if helper text is visible always or only on focus
helperTexthelperTextstring""Helper text shown below input field
iconiconstring""Icon shown inside the input element
iconTrailingiconTrailingstring""Trailing icon shown inside the input element
labellabelstring""Label of the input element
maxLengthmaxLengthnumber-1Maximum length of the input field
namenamestring""Name of the input element
outlinedoutlinedbooleanfalseStyle the input field as an outlined input element
placeHolderplaceHolderstring""Placeholder text of input field
requiredrequiredbooleanfalseIs input field required
valuevaluestring""Preset value of the input field

Methods

MethodType
checkValidity(): boolean
getValue(): string
setValue(value: any): void
0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.5

4 years ago