(args)
| 3 | |
| 4 | export class TextField extends Field{ |
| 5 | constructor(args){ |
| 6 | super(args); |
| 7 | Object.setPrototypeOf(this, TextField.prototype); |
| 8 | |
| 9 | if (typeof args == 'object'){ |
| 10 | this.addField(args); |
| 11 | } |
| 12 | |
| 13 | this.created(); |
| 14 | } |
| 15 | |
| 16 | addField(args){ |
| 17 | let input = document.createElement('input'); |