croppieInitialized isn't working
germankrause opened this issue · comments
German Swan commented
I don't see any entries for 'croppieInitialized', why did you write about this event in your README.md and how can I know when croppie became initialized?
Matthew Boman commented
If you look at https://github.com/jofftiquez/vue-croppie/blob/master/index.html it is
croppieInitialized() {
// This method will be executed when the croppie is initialized
// You can use it to set the image
// this.$refs.croppieRef.bind({
// url: 'http://i.imgur.com/Fv2YOM6.jpg',
// });
console.log('Croppie was initialized');
}`
Not sure why this was left out of the example.
Joff Tiquez commented
croppieInitialized
is not an event. It's a prop.
vue-croppie/src/VueCroppieComponent.js
Line 40 in 2d67193