mmo-reveal
1 symbole · générée le 27 Oct 2026
mmo-reveal
mmo-reveal.jhs:1The eye of a secret field (a password, a token, an API key): placed after the <input type="password"> in its .input box, a click (or Enter, Space) shows what was typed, a second one hides it again.
- Étend
- CustomShadowElement
Index
| input readonly accessor | The field it shows: the input before it, else the one of its .input box | |
| revealed readonly accessor | Whether the field shows its value | |
| init() | ||
| reveal(show) | Show or hide the value of the field |
Propriétés2
input
readonlyaccessormmo-reveal.jhs:27The field it shows: the input before it, else the one of its .input box
- Type
?HTMLInputElement
revealed
readonlyaccessormmo-reveal.jhs:37Whether the field shows its value
- Type
boolean
Méthodes2
init()
mmo-reveal.jhs:13reveal(show)
mmo-reveal.jhs:45Show or hide the value of the field
| show = true | boolean | - true shows it, false hides it |