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