https://github.com/evolutionjobs/spark-line
Web component for rendering spark lines
https://github.com/evolutionjobs/spark-line
Last synced: 6 months ago
JSON representation
Web component for rendering spark lines
- Host: GitHub
- URL: https://github.com/evolutionjobs/spark-line
- Owner: EvolutionJobs
- License: mit
- Created: 2017-11-17T17:26:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-18T17:00:22.000Z (over 8 years ago)
- Last Synced: 2025-02-06T23:28:50.560Z (about 1 year ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `` Web Component
`lit-html` based web component for rendering sparklines.
This is very much a work in progress.
## Todo
- Subscribe to events from properties
- Add custom reference lines
- Add tooltips
- Support dynamic widths
## `WithLit` Mixin
This adds basic handlers for the `lit` templates to render them into the shadow DOM.