0.1.2 • Published 6 years ago

copy-lite v0.1.2

Weekly downloads
98
License
-
Repository
-
Last release
6 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

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago