common-client
NPM page: https://www.npmjs.com/package/@joker7t/common-client
Installation:
Using Yarn
yarn add @joker7t/common-client
Using NPM
npm i @joker7t/common-client
Features:
Utils
-
copyToClipboard(text: string)
- A function which can be applied to HTML element to copy a text to clipboard.
Async utils
-
copyImageToClipboard(imageElement: any)
- A function which can be applied to HTML element to copy an image to clipboard.
- NOTE: Just work with png images.
Versions:
You can check all the versions here.