Lion Logo Lion Fundamentals Guides Components Blog Toggle darkmode

Button: API Table

class: LionButton, lion-button

Fields

NamePrivacyTypeDefaultDescriptionInherited From
typepublicstring'button'
activepublicbooleanfalse
_buttonIdprotected
tabIndexpublicnumberDisabledWithTabIndexMixin
_requestedToBeDisabledprotectedbooleanfalseDisabledMixin
disabledpublicbooleanfalseDisabledMixin

Methods

NamePrivacyDescriptionParametersReturnInherited From
makeRequestToBeDisabledpublicDisabledMixin
retractRequestToBeDisabledpublicDisabledMixin

Attributes

NameFieldInherited From
activeactive
typetype
tabindextabIndexDisabledWithTabIndexMixin
disableddisabledDisabledMixin

class: LionButtonReset, lion-button-reset

Fields

NamePrivacyTypeDefaultDescriptionInherited From
typepublicstring'reset'LionButton
__submitAndResetHelperButtonprotectedHTMLButtonElement
tabIndexpublicnumberLionButton
_requestedToBeDisabledprotectedbooleanfalseLionButton
disabledpublicbooleanfalseLionButton
activepublicbooleanfalseLionButton
_buttonIdprotectedLionButton

Methods

NamePrivacyDescriptionParametersReturnInherited From
_setupSubmitAndResetHelperOnConnectedprotected
_teardownSubmitAndResetHelperOnDisconnectedprotected
makeRequestToBeDisabledpublicLionButton
retractRequestToBeDisabledpublicLionButton

Attributes

NameFieldInherited From
tabindextabIndexLionButton
disableddisabledLionButton
activeactiveLionButton
typetypeLionButton

class: LionButtonSubmit, lion-button-submit

Fields

NamePrivacyTypeDefaultDescriptionInherited From
_nativeButtonNodeprotectedHTMLButtonElement|null
typepublicstring'submit'LionButton
__implicitSubmitHelperButtonprotectedHTMLButtonElement|nullnull
__submitAndResetHelperButtonprotectedHTMLButtonElementLionButtonReset
tabIndexpublicnumberLionButton
_requestedToBeDisabledprotectedbooleanfalseLionButton
disabledpublicbooleanfalseLionButton
activepublicbooleanfalseLionButton
_buttonIdprotectedLionButton

Methods

NamePrivacyDescriptionParametersReturnInherited From
_setupSubmitAndResetHelperOnConnectedprotectedLionButtonReset
_teardownSubmitAndResetHelperOnDisconnectedprotectedLionButtonReset
makeRequestToBeDisabledpublicLionButton
retractRequestToBeDisabledpublicLionButton

Attributes

NameFieldInherited From
tabindextabIndexLionButton
disableddisabledLionButton
activeactiveLionButton
typetypeLionButton