- Legend to Symbols

-
Interface nokia.maps.dom.TouchEventTarget
This class is a virtual interface that exists only for documentation purposes. Each class implementing this interface delcares that it can act as the target for certain events. Each event in this interface (and therefore also within the classes implementing the interface) represents an event of a specific type.
The following example shows event handling for events of the type "click":
// Note that "obj" can be either a DOM node or any other JavaScript object.
var obj = nokia.maps.dom.EventTarget( {} );
obj.addListener("click", function (evt) {
console.log("This is the '"+evt.type+"' event!");
});
obj.dispatch( new nokia.maps.dom.Event({
type: "click"
});
The example creates an instant of nokia.maps.dom.EventTarget, adds a listener
for "click" events to it, and dispatches a "click" event to all registered listeners (in
this case one) - the listeners receive the object that represents the target of the event.
For more information about dispatching events, please refer to the documentation of the nokia.maps.dom.EventTarget.
tap events have been fired in a certain amount of time.
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
touchstart and touchend has occurred
at the same target and only if neither of the touchstart nor the touchend
event has been canceled and no gesture was started in between.
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
mousemove event, because the user can touch the
screen with more than one finger at the same time.
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |
| {nokia.maps.dom.TouchEvent} | evt | An object representing the event |