没有合适的资源?快使用搜索试试~ 我知道了~
go-hyperscript:Go中的上标实现
共36个文件
go:22个
js:3个
wasm:3个
需积分: 9 0 下载量 62 浏览量
2021-05-27
21:41:43
上传
评论
收藏 1.32MB ZIP 举报
温馨提示
上标 简单的脚本,例如Go中实现的脚本。 您可以通过以下方式使用此软件包: 使用Go函数编写HTML。 根据先前的VNode树更新现有的DOM。 用法 使用Go函数编写HTML func main () { node := h . H ( "div" , nil , h . H ( "h1" , nil , h . Text ( "Example App" )), h . H ( "strong" , nil , h . H ( "font" , h. Object { "color" : "red" }, h . Text ( "Hello, world!" )), ), ... ) body := js . Global (). Get ( "document" ). Get ( "body" ) dom . NewRenderer (). Re
资源推荐
资源详情
资源评论
收起资源包目录
go-hyperscript-master.zip (36个子文件)
go-hyperscript-master
.gitignore 5B
dom
render.go 4KB
value.go 1KB
README.md 2KB
hyperscript
value.go 372B
elementnode.go 818B
hyperscript.go 383B
nodetype.go 315B
vnode.go 133B
object.go 2KB
fakevalue
fakevalue.go 2KB
global.go 212B
textnode.go 494B
callback.go 283B
hyperscript_test.go 1KB
examples
counter
counter
counter_test.go 312B
counter.go 638B
main.go 681B
index.wasm 1.51MB
index.js 24KB
index.html 281B
simpletodo
components
todo.go 1KB
main.go 1KB
state
todo.go 62B
state.go 849B
index.wasm 1.44MB
index.js 24KB
index.html 293B
style
style.go 231B
basic
main.go 956B
index.wasm 1.37MB
index.js 24KB
index.html 281B
go.mod 49B
LICENSE.md 1KB
Makefile 346B
共 36 条
- 1
资源评论
佳同学
- 粉丝: 28
- 资源: 4583
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功