0.1.1 • Published 2 years ago

use-screenshot v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

use-screenshot

Vue composable to take screenshots of a given web page, tab, window, or the user's entire screen. Powered by @xata.io/screenshot

Installation

pnpm add use-screenshot

Usage

import { useScreenshot } from 'use-screenshot'

const { screenshot, capture, isSupported } = useScreenshot()
<button @click="capture">Copy</button>
<img :src="screenshot" alt="base64-encoded string" />

View screenshot options here.

License

MIT License © 2022 Robert Soriano