Giter Site home page Giter Site logo

Comments (7)

elanclarkson avatar elanclarkson commented on July 18, 2024 2

+1 I need this so I can pass context with the cropend event.

from vue-cropperjs.

zacharytyhacz avatar zacharytyhacz commented on July 18, 2024 2

@themustafaomar Awesome man! Was thinking of going in there myself to make a pull request like you have. Let's urge @Agontuk to merge

from vue-cropperjs.

themustafaomar avatar themustafaomar commented on July 18, 2024 1

+2 they supposed to be events not as props.
it would be nice if they are like this.

<vue-cropper
  @ready="readyFired"
  @cropstart="cropstartFired"
  @cropmove="cropmoveFired"
  @cropend="cropendFired"
  @crop="cropFired"
  @zoom="zoomFired">
</vue-cropper>

from vue-cropperjs.

zacharytyhacz avatar zacharytyhacz commented on July 18, 2024 1

Yes +1, cropperjs shows it has events

https://github.com/fengyuanchen/cropperjs#events

but v-on:event or @event dont work with them!

from vue-cropperjs.

themustafaomar avatar themustafaomar commented on July 18, 2024 1

I've sent a pull request to fix this issue, but the owner is not here 🙄!
Pull request: #63
Commit: bd0be38

from vue-cropperjs.

pintoflager avatar pintoflager commented on July 18, 2024

In case this never gets committed you can use .native modifier to hook into cropperjs event:
@crop.native="crop($event)"

from vue-cropperjs.

Agontuk avatar Agontuk commented on July 18, 2024

Event support added in v4.1.0

from vue-cropperjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.