use-screenshot
v0.1.1
Published
Vue composable to take screenshots of a given web page, tab, window, or the user's entire screen.
Downloads
19
Readme
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