0.3.1 • Published 4 years ago

@simplr-wc/textarea v0.3.1

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

Simplr Text Area

Usage

Import
import '@simplr-wc/textarea';
Use
<simplr-text-area></simplr-text-area>

Properties

PropertyAttributeTypeDefaultDescription
autoValidateautoValidatebooleanfalseReport input validity on input rather than on blur
charCountercharCounterbooleanfalseEnable character counter of input field (! Required maxLength to be set !)
colscolsnumber20Column counr of text area.
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
rowsrowsnumber2Row count of text area.
valuevaluestring""Preset value of the input field

Methods

MethodType
checkValidity(): any
getValue(): any
setValue(value: any): void
0.3.1

4 years ago

0.3.0

4 years ago

0.2.3

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

0.1.4

4 years ago

0.1.3

4 years ago