summaryrefslogtreecommitdiff
path: root/book/src/main/scalatex/book/CanvasApp.scalatex
diff options
context:
space:
mode:
Diffstat (limited to 'book/src/main/scalatex/book/CanvasApp.scalatex')
-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