added missing method

This commit is contained in:
dcore94 2022-11-17 12:20:42 +01:00
parent 7157173ea3
commit b337fb2075
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ class SecretInputRenderer extends Renderer{
super(input) super(input)
} }
getValue(parent){
return parent.querySelector("input").value
}
connectedCallback(controller){ connectedCallback(controller){
controller.addEventListener("click", ev=>{ controller.addEventListener("click", ev=>{
const ename = ev.target.getAttribute("name") const ename = ev.target.getAttribute("name")