src/bindings.js
// Syncs up the view binding with the model.
Syncs up the view binding with the model.
Syncs up the view binding with the model .
sync() {
    if (this.observer) {
      this.model = this.observer.target
      this.set(this.observer.value())
    } else {
      this.set(this.value)
    }
  }
sync ( ) { if ( this . observer ) { this . model = this . observer . target this . set ( this . observer . value ( ) ) } else { this . set ( this . value ) } }
Syncs up the view binding with the model.
Syncs up the view binding with the model .