Port

@native @JSType
trait Port extends Object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def disconnect(): Unit
def postMessage(message: Any): Unit
def sender: UndefOr[MessageSender]

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val name: String
val onDisconnect: Event[Function0[_]]
val onMessage: Event[Function2[Any, MessageSender, _]]