Comments (4)
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.
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.
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.
Closing out - issue quite old and not a priority to retest and assess current behavior.
from enyo.
Related Issues (20)
- wiki: myKind should be MyKind HOT 1
- wiki: enyo.List example outdated HOT 1
- Image isn't displayed when using an {{enyo/Image}} in its {{'contains'}} sizing mode (setting image as background for a div) in Chrome.
- npm zombie HOT 2
- Using XML-JS with EnyoJS HOT 3
- Can't start enyo project on webOS tv emulator HOT 1
- How to install a moonstone app template ? HOT 4
- Simplerepeater error HOT 1
- Collection is not showing up HOT 3
- How to pass and change data in SimpleRepeater ? HOT 3
- How to select element in DataRepeater ? HOT 1
- How to implement routing navigation enyojs ?? HOT 2
- How to implement google map api..?? HOT 1
- Can we use new ES6 standards HOT 1
- Using ares-webos-sdk in CI build HOT 1
- enyo-unselectable style fails on IE8 and 9 HOT 1
- WebService component doesn't work on IE9 & Windows Phone7 for cross site ajax calls HOT 6
- Enyo Needs a Compatibility Table HOT 8
- button animation difficulty with Android Browser HOT 1
- wiki: brace missing in start method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enyo.