javascript the simplest two-way binding
npm install two-way-bindingLive demo & playground at here
``javascript`
twoWay(object,input);
//access object.value will be input.value ( input.checked for checkbox )
If I want to have a notice when the value updated ?
`javascript``
twoWay(object,input)
.onUpdated(val=>{
//do what you like
})
.onUpdated(val=>{
//pretty cool. isn't it ?
})