https://github.com/walkingriver/smart-label
A custom web component in @stenciljs that implements a smart html label with copy-to-clipboard functionality.
https://github.com/walkingriver/smart-label
Last synced: 11 months ago
JSON representation
A custom web component in @stenciljs that implements a smart html label with copy-to-clipboard functionality.
- Host: GitHub
- URL: https://github.com/walkingriver/smart-label
- Owner: walkingriver
- License: mit
- Created: 2018-02-26T21:06:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-26T21:27:12.000Z (over 8 years ago)
- Last Synced: 2025-03-12T13:43:58.474Z (over 1 year ago)
- Language: TypeScript
- Size: 258 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Smart Label
This is a custom web component written in Stencil JS that implements a `smart` text label. Use it anywhere you'd use a element to provide the following custom functionality:
## Usage
```html
```
## Quick Start
```
git clone https://github.com/walkingriver/smart-label.git
git remote remove origin
npm install
npm start
```
## Built with Stencil
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
Stencil components are just Web Components, so they work in any major framework or with no framework at all. In many cases, Stencil can be used as a drop in replacement for traditional frontend frameworks given the capabilities now available in the browser, though using it as such is certainly not required.
Stencil also enables a number of key capabilities on top of Web Components, in particular Server Side Rendering (SSR) without the need to run a headless browser, pre-rendering, and objects-as-properties (instead of just strings).