28 lines
313 B
JavaScript
28 lines
313 B
JavaScript
|
|
|
||
|
|
import input from './input.js';
|
||
|
|
|
||
|
|
export default class inputPassword extends input{
|
||
|
|
|
||
|
|
inputType = "password";
|
||
|
|
|
||
|
|
|
||
|
|
outline = "none";
|
||
|
|
|
||
|
|
constructor(){
|
||
|
|
|
||
|
|
super();
|
||
|
|
|
||
|
|
this.type = "password";
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
create() {
|
||
|
|
|
||
|
|
this.customElement.setAttribute("type", this.inputType);
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|