nsgenbind
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BroadcastChannel Interface Reference

import <html.idl;

Inheritance diagram for BroadcastChannel:
EventTarget

Public Member Functions

void postMessage (any message)
 
void close ()
 
- Public Member Functions inherited from EventTarget
void addEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
void removeEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
boolean dispatchEvent (Event event)
 
void addEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
void removeEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

readonly attribute DOMString name
 
attribute EventHandler onmessage
 

Detailed Description

Definition at line 1907 of file html.idl.

Member Function Documentation

◆ close()

void BroadcastChannel::close ( )

◆ postMessage()

void BroadcastChannel::postMessage ( any  message)

Member Data Documentation

◆ name

readonly attribute DOMString BroadcastChannel::name

Definition at line 1908 of file html.idl.

◆ onmessage

attribute EventHandler BroadcastChannel::onmessage

Definition at line 1911 of file html.idl.


The documentation for this interface was generated from the following file: