Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

How can trigger zoom event? #39

Open
yuliusvk opened this issue Jan 28, 2017 · 4 comments
Open

How can trigger zoom event? #39

yuliusvk opened this issue Jan 28, 2017 · 4 comments

Comments

@yuliusvk
Copy link

Hi!
Can anyone help me?
I do not know how to launch the event zoom

@Tolomeo
Copy link

Tolomeo commented Feb 7, 2017

You have to use the cropperProxy.
If you read demo.js code you will find a scope function called 'clear' which checks for the existence of the proxy, then uses it to call the plugin method 'clear'.
Just found myself trying to access zoom method.

@yuliusvk
Copy link
Author

yuliusvk commented Feb 7, 2017

Thank you!!

I try it now!!!

@AttilaBre
Copy link

Can someone explain this with little more details?

@mahesh-44
Copy link

You have to call methods of cropper using proxy.
Ex: $scope.cropper.first('zoom',0.1);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants