Skip to content

WangZiXiao-ChenDu/react-native-scroll-screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Installation can be done through npm:

npm i react-native-scroll-screenshot --save

Usage

用于截取大于一屏幕的长图片

import { NativeModules } from 'react-native';
new Promise((resolve, reject) => {
  NativeModules.RNScrollScreenshot.takeScreenshot(ref, (error, uri) => {
    if (error) reject(error);
    resolve(uri);
  });
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published