Andreas Hocevar
7c5e1b808d
Add and fix API docs for ol.events.Event stack
2016-03-10 17:35:55 +01:00
Andreas Hocevar
8a279dd94b
Do not reset pendingRemovals if event is dispatched again
2016-03-08 15:54:51 +01:00
Andreas Hocevar
acd76a10b6
Clean up when propagation is stopped
2016-03-08 15:54:17 +01:00
Andreas Hocevar
93f26a90d0
Do not remove listeners while dispatching event
2016-03-08 13:11:22 +01:00
Tim Schaub
09eee46822
Use ol.Disposable instead of goog.Disposable
2016-03-02 15:44:07 -07:00
Marc Jansen
efa82dccf9
Remove use of goog.isString()
2016-02-06 12:56:55 +01:00
Tim Schaub
f3b97d6bef
Use string instead of string|ol.events.EventType
2016-02-03 11:19:38 +01:00
Tim Schaub
e48ab95735
Use originalEvent instead of browserEvent
2016-02-03 11:19:38 +01:00
Tim Schaub
c62e76ab67
Remove support for useCapture
2016-02-03 11:19:38 +01:00
Andreas Hocevar
cf4556f115
Add tests and documentation for ol.events.Event
2016-02-03 11:19:38 +01:00
Andreas Hocevar
5ba8b13ccf
Add tests and documentation of ol.events.EventTarget
2016-02-03 11:19:38 +01:00
Andreas Hocevar
c51d717657
Refactor event manager to remove memory leaks
2016-02-03 11:19:38 +01:00
Andreas Hocevar
f35d0106b8
Remove goog.net.* and goog.async.AnimationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Frédéric Junod
eb174f7a82
Merge pull request #4275 from fredj/mouseOnly_type
...
Fix ol.events.condition.mouseOnly parameter type
2015-10-19 09:03:51 +02:00
Frederic Junod
b477367099
Better ol.events.condition.platformModifierKeyOnly documentation
...
See https://github.com/google/closure-library/blob/master/closure/goog/events/browserevent.js#L175-L180
2015-10-15 12:55:23 +02:00
Frederic Junod
552e345fbf
Fix ol.events.condition.mouseOnly parameter type
...
From `ol.MapBrowserEvent` to `ol.MapBrowserPointerEvent` and remove the
instanceof assert.
2015-10-15 11:43:30 +02:00
Frederic Junod
0a76145a93
Relay on the pointerType property in ol.events.condition.mouseOnly
2015-10-13 14:37:52 +02:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Tobias Bieniek
e3ead5df06
events/condition: Add doubleClick condition
2015-08-01 20:46:21 +02:00
Marc Jansen
cbc0ae730a
Add basic docs for events.condition.*
2015-04-23 14:58:18 +02:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
Alexandre Dubé
d1185da6b1
Replace mouseMove event condition by pointerMove
...
The original browser event was used to catch the mousemove event,
but in IE the 'pointermove' event is returned instead. So, instead
of using the original event, we use the map browser event, which
is always 'pointermove'.
2015-02-27 12:14:13 -05:00
Éric Lemoine
43ee0158f8
Add @api stable to ol.events.condition built-ins
2014-08-25 17:25:06 +02:00
Éric Lemoine
dcd2e425a2
Add @api stable to ol.events.ConditionType
2014-08-25 17:24:57 +02:00
Peter Robins
7a5a5d75e7
Improve and standardise event docs
2014-08-18 15:17:02 +00:00
Tim Schaub
b0c0d077c9
Annotate always and never conditions as functions
2014-07-16 23:16:51 -06:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Éric Lemoine
ef1414c508
Minor apidoc change
2014-07-03 09:14:41 +02:00
Éric Lemoine
355ca67b86
Add ol.events.condition.click
2014-07-03 09:14:41 +02:00
Éric Lemoine
67c2e46c19
Add ol.events.condition.mouseMove
2014-07-03 09:14:41 +02:00
tsauerwein
0a939c6554
Export condition singleClick and mouseOnly
2014-06-06 15:17:06 +02:00
Andreas Hocevar
8e387f385a
Add missing namespace annotation
2014-05-01 22:17:57 +02:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3
Greatly simplify and document the usage of JSDoc
...
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.
As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.
This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
ahocevar
2cb045b0b3
Better documentation for the singleclick condition
2014-04-04 14:05:19 +02:00
Tom Payne
29d1ee5e03
Add ol.events.condition.never
2014-03-17 16:40:38 +01:00
tsauerwein
c593add6d8
base dragrotateinteraction on pointer interaction
2014-03-14 10:16:26 +01:00
Bart van den Eijnden
87d651af04
Add documentation for API typedef functions
2014-02-14 15:32:12 +01:00
Tom Payne
a0d79fe98c
Improve type checking in ol.events.condition.targetNotEditable
2014-01-30 11:20:58 +01:00
Éric Lemoine
8402eee0c3
Map "click" event renamed to "singleclick"
...
As discussed with @tschaub in #1195 .
2013-10-31 09:37:16 +01:00
Éric Lemoine
2c930d74b5
clickOnly condition checks map clicks
2013-10-30 13:17:12 +01:00
Frederic Junod
a9159ecac3
Rename ol.interaction.condition to ol.events.condition
2013-10-30 12:13:44 +01:00
Tom Payne
5c76291b74
Remove move dead code
2012-09-19 17:04:12 +02:00
ahocevar
8183164298
The underlying event will be needed frequently.
...
But there will also be events that don't have an underlying event, so we make it optional.
2012-07-12 23:47:16 +02:00
ahocevar
1ad915b428
Shuffling resources; better variable names; better type declarations.
2012-07-12 13:43:47 +02:00