Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coffeekraken/s-theme-switcher-component

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coffeekraken/s-theme-switcher-component

  • 2.0.0-alpha.3
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-90.91%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 28 Jul 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc