https://github.com/moduscreateorg/stop-watch-box
A simple Stop-Watch-Box Web Component created with Stencil
https://github.com/moduscreateorg/stop-watch-box
Last synced: 2 months ago
JSON representation
A simple Stop-Watch-Box Web Component created with Stencil
- Host: GitHub
- URL: https://github.com/moduscreateorg/stop-watch-box
- Owner: ModusCreateOrg
- License: mit
- Created: 2018-03-09T20:17:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T21:23:20.000Z (almost 2 years ago)
- Last Synced: 2025-04-15T03:06:25.088Z (2 months ago)
- Language: TypeScript
- Homepage: https://stopwatchbox.modus.app/
- Size: 1.02 MB
- Stars: 3
- Watchers: 5
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://app.fossa.io/projects/git%2Bgithub.com%2FModusCreateOrg%2Fstop-watch-box?ref=badge_shield)# Stop Watch Box
A simple `stop-watch-box` web component built with [StencilJS](https://stenciljs.com).
[stencil-component-starter](https://github.com/ionic-team/stencil-component-starter) was used to create this component.
Here's the article that I wrote about creating web components with Stencil. This repository is just a demo component created.
You can use it in your projects however ;)## DEMO
See the demo [here](https://stopwatchbox.modus.app/)
## Using this component
### Script tag
- Put a script tag similar to this `` in the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc :### Node Modules
- Run `npm install stop-watch-box --save`
- Put a script tag similar to this `` in the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc### In a stencil-starter app
- Run `npm install stop-watch-box --save`
- Add `{ name: 'stop-watch-box' }` to your [collections](https://github.com/ionic-team/stencil-starter/blob/master/stencil.config.js#L5)
- Then you can use the element anywhere in your template, JSX, html etc### In the html, JSX etc:
```html
```
## Modus Create
[Modus Create](https://moduscreate.com) is a digital product consultancy. We use a distributed team of the best talent in the world to offer a full suite of digital product design-build services; ranging from consumer facing apps, to digital migration, to agile development training, and business transformation.
[](https://moduscreate.com)
## Licensing
This project is [MIT licensed](./LICENSE).
[](https://app.fossa.io/projects/git%2Bgithub.com%2FModusCreateOrg%2Fstop-watch-box?ref=badge_large)