Socket
Socket
Sign inDemoInstall

@coffeekraken/s-rating-component

Package Overview
Dependencies
4
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @coffeekraken/s-rating-component

Clean, fully customizable and easy to use (stars) rating web component.


Version published
Weekly downloads
84
decreased by-33.86%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

{{#> layout-readme }}

SClipboardCopyComponent

This package expose a simple SClipboardCopyComponent custom element that you can define and use in your pages easily.

Features

  • Framework agnostic. Simply webcomponent.
  • Set a "from" target that will be copied in the clipboard on click
  • Default icons for "copy", "copied", and "error"
  • Responsive props see more
  • And more...

Usage

First, simply import and define the component in your js/ts file:

import { define } from '@coffeekraken/s-clipboard-copy-component';
define();

Make use of it in your pages:

<input type="text" value="Hello world" id="my-input" />
<s-clipboard-copy from="my-input"></s-clipboard-copy>

Attributes

{{> interface namespace='@coffeekraken.s-clipboard-copy-component.js.interface.SClipboardCopyComponentInterface' }}

API

For more information about the API, please check out the API documentation

{{/ layout-readme }}

FAQs

Last updated on 18 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc