【文件属性】:
文件名称:gopherjs-vue:用于gopherjs的VueJS绑定
文件大小:111KB
文件格式:ZIP
更新时间:2021-02-03 19:38:15
go html vuejs vue bindings
gopherjs-vue
GopherJS的VueJS绑定
用法
联合的力量和 ,您可以使用golang struct ,以提供双向数据绑定上下文 ,并轻松实现了流行的浏览器MVVM模型围棋。
当前,支持ViewModel/Component/Directive/Filter并以gopherjs友好的方式包装。
这些是使用此软件包的基本规则:
golang struct所有exported fields都将成为VueJS实例的数据,可以在html中使用它进行数据绑定:v-bind等
golang struct所有exported funcs的golang struct都将成为VueJS
【文件预览】:
gopherjs-vue-master
----option.go(10KB)
----vue.go(9KB)
----inc_debug.go(83B)
----jscode()
--------minified()
--------debug()
----LICENSE(1KB)
----directive.go(4KB)
----filter.go(452B)
----examples()
--------unwritableTime()
--------features()
--------computed()
--------component()
--------directive()
--------basic()
----.gitignore(488B)
----component.go(2KB)
----README.md(3KB)
----mapping.go(944B)
----inc_minified.go(87B)
----extra.go(3KB)