html2canvas
- Version 1.4.1
- Published
- 3.38 MB
- 2 dependencies
- MIT license
Install
npm i html2canvas
yarn add html2canvas
pnpm add html2canvas
Overview
Screenshots with JavaScript
Index
Functions
Type Aliases
Functions
function html2canvas
html2canvas: ( element: HTMLElement, options?: Partial<Options>) => Promise<HTMLCanvasElement>;
Type Aliases
type Options
type Options = CloneOptions & WindowOptions & RenderOptions & ContextOptions & { backgroundColor: string | null; foreignObjectRendering: boolean; removeContainer?: boolean; };
Package Files (1)
Dependencies (2)
Dev Dependencies (72)
- @babel/cli
- @babel/core
- @babel/preset-env
- @babel/preset-flow
- @rollup/plugin-commonjs
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @rollup/plugin-typescript
- @types/chai
- @types/express
- @types/glob
- @types/jest
- @types/jest-image-snapshot
- @types/karma
- @types/mocha
- @types/node
- @types/platform
- @types/promise-polyfill
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- appium-ios-simulator
- babel-eslint
- babel-loader
- babel-plugin-add-module-exports
- babel-plugin-dev-expression
- base64-arraybuffer
- body-parser
- chai
- chromeless
- cors
- es6-promise
- eslint
- eslint-config-prettier
- eslint-plugin-prettier
- express
- filenamify-url
- glob
- html2canvas-proxy
- jest
- jest-image-snapshot
- jquery
- js-polyfills
- karma
- karma-chrome-launcher
- karma-edge-launcher
- karma-firefox-launcher
- karma-ie-launcher
- karma-junit-reporter
- karma-mocha
- karma-safarinative-launcher
- karma-sauce-launcher
- mocha
- node-simctl
- platform
- prettier
- replace-in-file
- rimraf
- rollup
- rollup-plugin-sourcemaps
- serve-index
- slash
- standard-version
- ts-jest
- ts-loader
- ts-node
- tslib
- typescript
- uglify-js
- uglifyjs-webpack-plugin
- webpack
- webpack-cli
- yargs
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/html2canvas
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/html2canvas)
- HTML<a href="https://www.jsdocs.io/package/html2canvas"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2715 ms. - Missing or incorrect documentation? Open an issue for this package.