tjb-statusbar
Webcomponents statusbar
Features
- beautiful
- easy to use
- accessible
- time saving
Example
https://tjb-webcomponents.github.io/tjb-statusbar/
Add to project
You might want to use a Polyfill for WebComponent:
Include via HTML
Include it:
Include via JavaScript
import 'https://tjb-webcomponents.github.io/tjb-statusbar/tjb-statusbar.min.js'
Include via NPM
Console:
npm i -S tjb-statusbar
Then in your code:
import 'tjb-statusbar';
Useage
With all attributes:
status
can beloading
|alert
|success
|info
- can be triggered programmatically:
tjbStatusbar.status = 'alert'
Styling
Default public values:
These can be overwritten easily by targeting the element. Example: