aboutsummaryrefslogtreecommitdiff
path: root/examples/scalajs-plain-example/js/Plotly.scala
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scalajs-plain-example/js/Plotly.scala')
-rw-r--r--examples/scalajs-plain-example/js/Plotly.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/scalajs-plain-example/js/Plotly.scala b/examples/scalajs-plain-example/js/Plotly.scala
new file mode 100644
index 0000000..a4623c6
--- /dev/null
+++ b/examples/scalajs-plain-example/js/Plotly.scala
@@ -0,0 +1,8 @@
+package prototype
+
+import scala.scalajs.js
+
+@js.native
+object Plotly extends js.Object {
+ def newPlot(id: String, data: js.Array[js.Dynamic]): js.Any = js.native
+}