All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.scalajs.dom.ws.MessageEvent.scala Maven / Gradle / Ivy

There is a newer version: 0.4.2
Show newest version
package io.scalajs.dom.ws

import io.scalajs.dom.Event

import scala.scalajs.js
import scala.scalajs.js.annotation.JSGlobal

/**
  * Message Event
  * @author [email protected]
  */
@js.native
@JSGlobal("MessageEvent")
class MessageEvent() extends Event {

  /**
    * Returns a DOMString, Blob or an ArrayBuffer containing the data send by the emitter.
    */
  def data: String = js.native

  /**
    * TBD
    */
  def origin: String = js.native

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy