summaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2014-11-01 14:24:55 -0700
committerLi Haoyi <haoyi@dropbox.com>2014-11-01 14:24:55 -0700
commit00746e5c8d1d731d0a0cb581f3bddadde31d0d31 (patch)
tree3303ec78cbf6185aed70cafb0215aeb1e6b2ed07 /book
parent049b56816ab82e66f637e3f9e7fd0f356b96983d (diff)
downloadhands-on-scala-js-00746e5c8d1d731d0a0cb581f3bddadde31d0d31.tar.gz
hands-on-scala-js-00746e5c8d1d731d0a0cb581f3bddadde31d0d31.tar.bz2
hands-on-scala-js-00746e5c8d1d731d0a0cb581f3bddadde31d0d31.zip
Things compile for now, error messages seem pretty good...
Diffstat (limited to 'book')
-rw-r--r--book/src/main/scalatex/book/CanvasApp.scalatex2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/main/scalatex/book/CanvasApp.scalatex b/book/src/main/scalatex/book/CanvasApp.scalatex
index bdfa51a..2e05682 100644
--- a/book/src/main/scalatex/book/CanvasApp.scalatex
+++ b/book/src/main/scalatex/book/CanvasApp.scalatex
@@ -43,7 +43,7 @@
@p
In general, you have access to all the DOM APIs through the @hl.scala{dom} package as well as through Javascript objects such as the @hl.scala{dom.HTMLCanvasElement}. Setting the @code{onmouseXXX} callbacks is just one way of interacting with the DOM. With Scala.js, you also get a very handy autocomplete in the editor, which you can use to browse the various other APIs that are available for use:
- @img(src:="images/Dropdown.png", maxWidth:="100%")
+ @img(src:="images/Dropdown.png", maxWidth:="100%")
@p
Apart from mouse events, keyboard events, scroll events, input events, etc. are all usable from Scala.js as you'd expect