Answers for "how to initialize croppie after first initializeztion"

1

how to initialize croppie after first initializeztion

use destroy method then init croppie again:
---------------------------------------------
$('#someId').croppie('destroy');
$('#someId').croppie({
	viewport: {
		width: 300,
		height: 300,
		type: 'square'
	},
	boundary: {
		width: 200,
		height: 200
	},
});
Posted by: Guest on October-09-2021

Code answers related to "how to initialize croppie after first initializeztion"

Code answers related to "Javascript"

Browse Popular Code Answers by Language