Creative Design & Branding

SnapDOM

Captures a rendered DOM element or page region in the browser with SnapDOM 3 (@zumer/snapdom) and exports it as PNG, JPG, WebP, SVG, canvas or Blob, or downloads it as a file. Use when the user wants to screenshot a div, component, chart or full page from client-side JavaScript, export HTML to an image, download an element as an image, turn DOM into a PDF, editable vector artwork, a GIF or a video through the official plugins, or replace html2canvas, dom-to-image, html-to-image or modern-screenshot, and whenever code mentions @zumer/snapdom, snapdom(), toPng, toJpg, toWebp, toSvg, toCanvas, toBlob, toRaw, download, fromString, preCapture, embedFonts, useProxy, toPdf, toVector, toFigma, toGif or toMp4. Covers install, the capture-then-export model, export methods, the options that matter with their real defaults, the plugin packages, framework notes and the mistakes agents make most. Not for Node or server-side rendering, and not a headless-browser screenshot tool.

Publisher / source
zumerlab/snapdom (found on GitHub top repositories)
Upstream record
zumerlab/snapdom
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
f071edc65bc1c8952647ac5f8d8147949393b8b4fe46c93099437b13aafe88a6