spiridonov-oa / react-whiteboard-pdf Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I found two libraries that looked identical.
I was very confused because I couldn't tell which of these was real.
https://www.npmjs.com/package/react-whiteboard-pdf
https://www.npmjs.com/package/react-sketch-panel
Upon checking, some features were missing or an error occurred when downloading the 'react-sketch-panel' project.
Therefore, 'react-whiteboard-pdf' is the original library.
I wrote this down in case there was someone as confused as me.
The version has been upgraded significantly in the past few days, so I'm curious what the difference is.
Is it possible to adjust the scope of the sketch board? (I want to scroll just a little bit.)
my sketch board stretches forever. So it feels like sailing on an open sea.
Is it possible to display a scroll on the sketch board?
There were times when I couldn't find where I was.
I commented out all sections of the library that call this.setDrawingMode().
constructor(params) {
// ...
// this.setDrawingMode(this.drawingSettings.currentMode);
this.addZoomListeners();
}
setDrawingSettings(drawingSettings) {
if (!drawingSettings) return;
this.drawingSettings = { ...this.drawingSettings, ...drawingSettings };
// this.setDrawingMode(this.drawingSettings.currentMode);
}
However, a ‘mouse-drag mode’ has appeared.
I would like to add this drag mode as a new icon to this library.
Does anyone know what this drag mode is?
http://fabricjs.com/docs/index.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.