func (v *ViewModel) FromJS(obj *js.Object) *ViewModel {
	for _, key := range js.Keys(obj) {
		if strings.HasPrefix(key, "$") || strings.HasPrefix(key, "_") {
			continue
		}
		v.Object.Set(key, obj.Get(key))
	}
	return v
}
FromJS set the corresponding VueJS data model field from obj
new data model field will be created when not exist
package vue
import (
	"strings"
	"github.com/gopherjs/gopherjs/js"
	"github.com/oskca/gopherjs-json"
)