Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.go

Created Dec 12, 2018
Embed
What would you like to do?
cb1 := js.NewCallback(func(args []js.Value) {
// この中に処理を書く
})
button.Call("addEventListener", "click", cb1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment