https://github.com/launchscout/livestate-comments
An example custom element to show how live_state works
https://github.com/launchscout/livestate-comments
Last synced: 7 months ago
JSON representation
An example custom element to show how live_state works
- Host: GitHub
- URL: https://github.com/launchscout/livestate-comments
- Owner: launchscout
- License: mit
- Created: 2022-06-27T13:43:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T00:33:08.000Z (almost 4 years ago)
- Last Synced: 2024-04-13T07:10:49.899Z (over 2 years ago)
- Language: TypeScript
- Size: 32.2 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# \
This is custom element for an example project for [live_state](https://github.com/gaslight/live_state). It adds
a comment section to a website.
## Usage
Easiest way is to add it to your page via a script tag using unpkg:
```html
```
Then, you can use it in your page wherever you like:
```html
```
Poof! A magical comments section should appear. It serves the same comments on all pages just now. It's likely they'll be deleted periodically, but feel free to play around!