Socket
Book a DemoInstallSign in
Socket

@exmg/exm-copy-to-clipboard

Package Overview
Dependencies
Maintainers
15
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exmg/exm-copy-to-clipboard

1.1.27
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
15
Weekly downloads
 
Created
Source

<exm-copy-to-clipboard> Published on npm

@exmg/exm-copy-to-clipboard

Helper element to create icon/buttons that lets the user copy content to the clipboard. Just wrap it around the button or icon and set the value that needs to be copied.

Installation

npm install @exmg/exm-copy-to-clipboard

Example Usage

Standard

<exm-copy-to-clipboard value="mark@test.com">
  <md-icon-button><md-icon>content-copy</md-icon></md-icon-button>
</exm-copy-to-clipboard>

API

Slots

NameDescription
defaultButton to handle copy to clipboard

Properties/Attributes

NameTypeDefaultDescription
valuestringNoneThe value that gets copied and displayed

Methods

NameDescription
toggleToggles the opened state of the component
showSets the opened state of the component to true
hideSets the opened state of the component to false

Events

None

CSS Custom Properties

None

Additional references

Keywords

web-components

FAQs

Package last updated on 09 Jul 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.