Should be a subset of the bindable functionality that can be used on any class instance field -
import {observable} from 'aurelia-binding';
export class MyViewModel {
user;
constructor() {
this.user = new User();
}
}
class User {
@observable name = '';
nameChanged(newValue) {
console.log(newValue);
}
}
Should be a subset of the
bindablefunctionality that can be used on any class instance field -