File tree 2 files changed +29
-0
lines changed
dom/src/main/scala/org/scalajs/dom
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ package org .scalajs .dom
2
+
3
+ import scala .scalajs .js
4
+
5
+ /** The AnimationEvent interface represents events providing information related to animations. */
6
+ @ js.native
7
+ trait BlobEvent extends Event {
8
+
9
+ def data : Blob = js.native
10
+
11
+ }
Original file line number Diff line number Diff line change
1
+ /** https://www.w3.org/TR/2016/CR-mediacapture-streams-20160519/ */
2
+ package org .scalajs .dom
3
+
4
+ import scala .scalajs .js
5
+ import scala .scalajs .js .annotation ._
6
+
7
+ @ js.native
8
+ @ JSGlobal
9
+ class MediaRecorder (stream : MediaStream ) extends EventTarget {
10
+ var ondataavailable : js.Function1 [Event , Any ] = js.native
11
+ var onerror : js.Function1 [Event , Any ] = js.native
12
+ var onstop : js.Function1 [Event , Any ] = js.native
13
+
14
+ def resume (): Unit = js.native
15
+ def start (): Unit = js.native
16
+ def stop (): Unit = js.native
17
+
18
+ }
You can’t perform that action at this time.
0 commit comments