Created
December 12, 2018 01:45
-
-
Save goofmint/ba9af8895a8cd6402aa617b31e1b2102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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