Search

Find components, guides, and documentation

Input Date: API Table

class: LionInputDate, lion-input-date

Fields

NamePrivacyTypeDefaultDescriptionInherited From
formatterpublicformatDate
modelValuepublic
parserpublic
placeholderpublicstring''LionInput
readOnlypublicbooleanfalseA Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input. The difference between disabled and readonly is that read-only controls can still function, whereas disabled controls generally do not function as controls until they are enabled. (From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)LionInput
slotspublicLionInput
typepublicstring'text'LionInput
_feedbackConditionMetaprotectedLionField
_focusableNodeprotectedLionField
_inputNodeprotectedHTMLInputElementLionInput

Methods

NamePrivacyDescriptionParametersReturnInherited From
clearpublicClears modelValue. Interaction states are not cleared (use resetInteractionState for this)LionField
deserializerpublicserializedValue: string
resetpublicResets modelValue to initial value. Interaction states are clearedLionField
resetInteractionStatepublicLionField
serializerpublicmodelValue: Date
_onChangeprotectedDispatches custom bubble eventev: Event=LionField

Events

NameTypeDescriptionInherited From
user-input-changedEventLionField

Attributes

NameFieldInherited From
modelValuemodelValue
readonlyreadOnlyLionInput
typetypeLionInput
placeholderplaceholderLionInput