https://github.com/24webcomponents/slider-input-element
Numbers that can slide!
https://github.com/24webcomponents/slider-input-element
Last synced: 11 months ago
JSON representation
Numbers that can slide!
- Host: GitHub
- URL: https://github.com/24webcomponents/slider-input-element
- Owner: 24webcomponents
- License: mit
- Created: 2022-12-13T17:07:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T10:52:06.000Z (over 1 year ago)
- Last Synced: 2024-12-02T11:40:05.580Z (over 1 year ago)
- Language: TypeScript
- Size: 104 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# <custom-element> element
Boilerplate for creating a custom element.
## Installation
Available on [npm](https://www.npmjs.com/) as [**@github/custom-element-element**](https://www.npmjs.com/package/@github/custom-element-element).
```
$ npm install --save @github/custom-element-element
```
## Usage
### Script
Import as ES modules:
```js
import '@github/custom-element-element'
```
Include with a script tag:
```html
```
An example Custom Element. This documentation ends up in the
README so describe how this elements works here.
You can event add examples on the element is used with Markdown.
```
<custom-element></custom-element>
```
## Browser support
Browsers without native [custom element support][support] require a [polyfill][].
- Chrome
- Firefox
- Safari
- Microsoft Edge
[support]: https://caniuse.com/custom-elementsv1
[polyfill]: https://github.com/webcomponents/custom-elements
## License
Distributed under the MIT license. See LICENSE for details.