Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type BroadcastChannel
- func (b BroadcastChannel) BroadcastChannel_() BroadcastChannel
- func (c BroadcastChannel) Close() error
- func (c BroadcastChannel) Name() (string, error)
- func (c BroadcastChannel) OnMessage(handler func(m messageevent.MessageEvent)) (js.Func, error)
- func (c BroadcastChannel) OnMessageError(handler func(e event.Event)) (js.Func, error)
- func (c BroadcastChannel) PostMessage(message interface{}) error
- type BroadcastChannelFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented BroadcastChannel") )
Functions ¶
Types ¶
type BroadcastChannel ¶
type BroadcastChannel struct {
eventtarget.EventTarget
}
BroadcastChannel struct
func (BroadcastChannel) BroadcastChannel_ ¶
func (b BroadcastChannel) BroadcastChannel_() BroadcastChannel
func (BroadcastChannel) Name ¶
func (c BroadcastChannel) Name() (string, error)
func (BroadcastChannel) OnMessage ¶
func (c BroadcastChannel) OnMessage(handler func(m messageevent.MessageEvent)) (js.Func, error)
func (BroadcastChannel) OnMessageError ¶
func (BroadcastChannel) PostMessage ¶
func (c BroadcastChannel) PostMessage(message interface{}) error
PostMessage Post a message on channel
type BroadcastChannelFrom ¶
type BroadcastChannelFrom interface {
BroadcastChannel_() BroadcastChannel
}
Click to show internal directories.
Click to hide internal directories.