mmo-password
1 symbol · generated 5 Oct 2026
mmo-password
mmo-password.jhs:1Password element to display a password input and a confirm password input
- Extends
- CustomElement
Index
| pattern | the pattern of the password | |
| required | if true, the password is required | |
| value | the value of the password | |
| ViewDefault static readonly accessor | ||
| pattern accessor | Get the pattern of the password | |
| value accessor | Get the value of the password | |
| required accessor | Get the required of the password | |
| init() | ||
| showPassword(value) | Show the password | |
| generatePassword() | Generate a random password then set it in the password and confirm password inputs | |
| updatePassword() | Update the password Check if the password is valid and if the confirm password is the same as the password |
Attributes3
pattern
mmo-password.jhsthe pattern of the password
pattern
required
mmo-password.jhsif true, the password is required
required
value
mmo-password.jhsthe value of the password
value
Properties4
ViewDefault
staticreadonlyaccessormmo-password.jhs:28pattern
accessormmo-password.jhs:43Get the pattern of the password
- Type
string
value
accessormmo-password.jhs:63Get the value of the password
- Type
string
required
accessormmo-password.jhs:79Get the required of the password
- Type
boolean
Methods4
init()
mmo-password.jhs:32showPassword(value)
mmo-password.jhs:109Show the password
| value = null | boolean | - The value to show the password |
generatePassword()
mmo-password.jhs:128Generate a random password then set it in the password and confirm password inputs
updatePassword()
mmo-password.jhs:143Update the password Check if the password is valid and if the confirm password is the same as the password