0.1.2 • Published 5 years ago

copy-lite v0.1.2

Weekly downloads
98
License
-
Repository
-
Last release
5 years ago

copy-lite

import {copyToClipboard} from 'copy-lite'

API

copyToClipboard(content: string, richHtml: boolean)

Examples

Text

copyToClipboard('This is normal text')

Rich text

copyToClipboard('This text has a <b>bold</b> element and a <a href="https://google.com">link</a>', true)

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago