I need some help with setting variables in class by text input,
nameChange(str){
this.service.setName(str);
console.log(str);
}
there is a example class, which modify variable, so how should input looks like, when I want just to modify variable anytime the input changes?