1.0.3 • Published 3 years ago

gif-record v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

gif-record

capture your browser screen into gif by javascript. A simple screen capture tool, so easy to use.

Get Start

npm install gif-record

Example

An example of use can be found in index.html

ESM

import GifRecord from 'gif-record'

GifRecord.readyDrawBox();
GifRecord.removeBox();
const info = GifRecord.getBoxInfo();

example

Api

ApiDescription
readyDrawBoxStart drawing the marquee box, then you can hold down the mouse and drag
removeBoxdelete the box you framed
getBoxInfoGet the information of your box, including location, size information

Continuous improvement...

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago