Skip to content

AtloriaInput

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/packages/ui-core/src/components/input/Input.ts

A fully accessible input component with validation states

Extends: AtloriaElement

Methods

MethodSignatureReturns
focusfocus()void
blurblur()void
selectselect()void
renderrender()void

Properties

PropertyType
stylesany
typeInputType
nameany
valueany
labelany
placeholderany
helperTextany
errorMessageany
successMessageany
requiredany
disabledany
readonlyany
minlengthnumber
maxlengthnumber
patternstring
autocompletestring

Where it refuses work

  • AtloriaInput stops the work with an early return when this.errorMessage.
  • AtloriaInput stops the work with an early return when this.successMessage.

Was this page helpful?

Download as PDF