alexis89x / broadcast-channel

A polyfill for the Broadcast Channel API, enabling communication across tabs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broadcast-channel-polyfill

A simple BroadcastChannel polyfill that works with all major browsers. Please refer to the official MDN documentation of the Broadcast Channel API.

See Broadcast Channel API on MDN.

For more info, see the related article on Medium.

Webpack usage

.... 
plugins: [
    new ProvidePlugin({
        BroadcastChannel: '@alexis89x/broadcast-channel/lib/index.js'
    })]

``

About

A polyfill for the Broadcast Channel API, enabling communication across tabs.

License:MIT License


Languages

Language:JavaScript 100.0%