First commit
This commit is contained in:
27
application/elements/inputPassword.js
Normal file
27
application/elements/inputPassword.js
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user