Skip to content

Commit

Permalink
Update communication.md (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
twavv authored Dec 31, 2019
1 parent cb80137 commit acfe790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pass more or fewer arguments, pass your arguments as an array:
handle(w, "event") do count, values, message
# ...
end
@js w Blink.msg("event", [1, ['a','b'], "Hi"]);
@js w Blink.msg("press", [1, ['a','b'], "Hi"]);
```

Finally, here is an example that uses a button to call back to julia:
Expand Down

0 comments on commit acfe790

Please sign in to comment.