auto update pw on option change

This commit is contained in:
Jonas Leder 2022-01-28 23:12:09 +01:00
parent 74d808ea3a
commit 39288102df

View file

@ -22,6 +22,20 @@ class PasswordGenerator extends HTMLElement {
pwlen.oninput = () => {
pwlenSpan.innerText = pwlen.value;
button.click();
}
includeNum.onchange = () => {
button.click();
}
includeBigChar.onchange = () => {
button.click();
}
includeSmallChar.onchange = () => {
button.click();
}
includeSpecialChat.onchange = () => {
button.click();
}
button.onclick = () => {