HTML element to use for password input
Optionalconfig: PasswordInputConfig = {}Password input config
Protected_Private$inputPrivate$screenPrivate$showPrivatei18nStatic ConstantdefaultsPassword input default config
StaticelementStaticmoduleName for the component used when initialising using data-module attributes.
Static ConstantschemaPassword input config schema
Protected$rootProtectedReturns the root element of the component
ProtectedconfigProtectedReturns the root element of the component
Internal VirtualconfigOverride
Function which defines configuration overrides to prioritize properties from the root element's dataset.
It should take a subset of configuration as input and return a new configuration object with properties that should be overridden based on the root element's dataset. A Symbol is used for indexing to prevent conflicts.
Optionalparam: Partial<PasswordInputConfig>Configuration object
return - Configuration object
PrivatehidePrivateHide the password input value.
PrivatesetPrivateSet the password input type
Input type
PrivateshowPrivateShow the password input value in plain text.
PrivatetogglePrivateToggle the visibility of the password input
Click event
Staticcheck
Password input component