BroadcastChannel$Typings extension
Properties
-
addEventListener
→ ({void Function<K$ extends Event>(BroadcastChannelEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
close
↔ void Function()
-
getter/setter pair
-
name
→ String
-
Returns the channel name (as passed to the constructor).
no setter
-
onmessage
↔ dynamic Function(MessageEvent)?
-
MDN Reference
getter/setter pair
-
onmessageerror
↔ dynamic Function(MessageEvent)?
-
MDN Reference
getter/setter pair
-
postMessage
↔ void Function([dynamic])
-
getter/setter pair
-
removeEventListener
→ ({void Function<K$ extends Event>(BroadcastChannelEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter