code: func (o *Option) AddMethod(name string, fn func(vm *ViewModel, args []*js.Object)) *Option {
  	return o.addMixin("methods", js.M{
  		name: js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {
  			vm := newViewModel(this)
  			fn(vm, arguments)
  			return nil
  		}),
  	})
  }
docs: // AddMethod adds new method `name` to VueJS intance or component
  // using mixins thus will never conflict with Option.SetDataWithMethods