From c37250720be604e4fb9cff13cc6d60cb57a07a91 Mon Sep 17 00:00:00 2001
From: Alexa DeWit html
namespace, while the CanvasRenderingContext2D comes from the dom
namespace. Traditionally, these types are imported via their qualified names: e.g. html.Canvas
rather than just Canvas
.
- In general, scala-js-dom provides org.scalajs.dom.html
to access the HTML element types of the browser, an org.scalajs.dom
to access other things. There are a number of other namespaces (dom.svg
, dom.idb
, etc.) accessible inside org.scalajs.dom
: read the scala-js-dom docs to learn more.
+ In general, scala-js-dom provides org.scalajs.dom.html
to access the HTML element types of the browser, and org.scalajs.dom
to access other things. There are a number of other namespaces (dom.svg
, dom.idb
, etc.) accessible inside org.scalajs.dom
: read the scala-js-dom docs to learn more.
def run = for (i <- 0 until 10){
if (count % 3000 == 0) clear()
@@ -4166,4 +4166,4 @@ class AtomicBoolean(private[this] var value: Boolean) extends Serializable {
);
})
})
-