Lokasi:homepage > Kod kesan khas JS > Pemilihan dan saringan

muat naik gambar telefon bimbit photoClip.js dan pemintas

2020-06-25 99jumlah tontonan
The clipping plug-in supports gesture. On the mobile device, the double fingers are pinched to zoom. The rotation of the two fingers can be rotated 90 degrees each time according to the rotation direction. On the PC device, the mouse wheel is zoomed, and each double-click rotates 90 degrees clockwise. Gesture supported clipping plug-in {number} width the width of the intercepted area {number} height the height of the intercepted area {string} file the selector of the < input type = file > control or the DOM object {string} view to display the container of the captured image or the DOM object {string} OK confirm the selector of the screenshot button or the DOM object {string} outputtype Specify the image type, and you can choose "JPG" and "PNG". Whether the {Boolean} strictsize is cut strictly according to the width and height of the intercepted area. The default is false {function} loadstart to start loading the callback function. {function} loadcomplete loads the completed callback function. {function} LoadError the callback function that failed to load. {function} clipfinish trims the completed callback function.