https://github.com/ujjwalguptaofficial/broadcastchannel-demo
https://github.com/ujjwalguptaofficial/broadcastchannel-demo
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ujjwalguptaofficial/broadcastchannel-demo
- Owner: ujjwalguptaofficial
- License: mit
- Created: 2020-12-29T07:34:51.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-29T09:36:48.000Z (almost 5 years ago)
- Last Synced: 2025-02-05T13:37:54.734Z (8 months ago)
- Language: HTML
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# broadcastchannel-demo
This is demo of `BroadcastChannel` api. It demonstrate how you can communicate between two different browser tabs.
# How to use
* Run command - `npm install`
* Run command - `npm run dev`
* Open expose url in two tabs, generally it would be in [http://localhost:8080/](http://localhost:8080/)
* Send a message from one tab
* You will see message is recieved in another tab## Sent
## Recieved