Code Monkey home page Code Monkey logo

Comments (4)

dfreedm avatar dfreedm commented on August 16, 2024

I just fixed up the docs a little bit for the release event in c5b7c47.

The idea behind issuing a release event when dragging is that you can highlight something when you hold and when you start dragging the hold is released and the highlight is removed.

Can you share what your use case is where this might be problematic?

from enyo.

rbrisita avatar rbrisita commented on August 16, 2024

I see the purpose for the events, it is just at first glance the
"release" event seems to be redundant and mislabeled because as I
stated before the user has not "released" it yet. I understand like
the "hold" event it is an internal event and not a user initiated
event. In my view the "dragstart" is sufficient enough to signify in
your use case to remove the highlight.

The more I think of it the more I am also seeing the "hold" event
being a nice to have but not necessary event. The less events being
dispatched the better but this seems to be a semantics issue now
though after your explanation. I just wanted to express my view with
my first impressions of the framework.

On Mon, Mar 5, 2012 at 6:15 PM, Daniel Freedman
[email protected]
wrote:

I just fixed up the docs a little bit for the release event in c5b7c47.

The idea behind issuing a release event when dragging is that you can highlight something when you hold and when you start dragging the hold is released and the highlight is removed.

Can you share what your use case is where this might be problematic?


Reply to this email directly or view it on GitHub:
#29 (comment)

Robert Brisita
Lead Developer
Transmitive, LLC.
30 W. 63rd St. #3R, New York, NY 10023
Office: 212-706-8880

from enyo.

dfreedm avatar dfreedm commented on August 16, 2024

Thanks for the input.

The names lack a bit of intuitiveness I agree, but we figured that a simple name that was documented clearly enough was better than a long, hard to remember one, such as cursorMovedAfterPointerHeldInPositionForALongTime.

I'll try and update the docs a little more so that hold and release explicitly refer to a point on the screen being held and released, not the mouse button.

If you can think of some better names for hold and release, we would certainly consider changing them.

from enyo.

lishammel avatar lishammel commented on August 16, 2024

Closing out - issue quite old and not a priority to retest and assess current behavior.

from enyo.

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.