- Legend to Symbols

-
Class nokia.maps.dom.DataTransfer
This class is a browser-independent implementation of the HTML 5 interface DataTransfer. The class extends the capabilities stipulated in the HTML 5 specification by allowing native JavaScript objects as values. If there is native support and the value is a string, then the data is copied into the native data transfer object.
dragstart event, it indicates if a drag operation lifts the target or not.
dragstart event.
DataTransfer object.
| {node} | element | The element to add as drag feedback for the user |
This is a proprietary member and not part of the implementation of W3C interface specifications.
| {String} | dropEffect |
The drop effect to check: copy, move or
link
|
A {Boolean} value, true if the effect is allowed,
false otherwise
|
| {String} | format | The format for which the data should be removed. |
| {nokia.maps.dom.DataTransfer} |
The data transfer object itself (this).
|
| {String} | format | The format of the data to return |
| An {Object} containing the data |
| {String} | format | The format of the data to check for |
A {Boolean} value, true if the data in the given format is
available; false otherwise.
|
| {String} | format | The format of the data |
| {Object} | data | The data |
An instance of {nokia.maps.dom.DataTransfer} representing the data
transfer object itself (this)
|
img,
then the user agent should use the element's image (at its intrinsic size)
to generate the feedback, otherwise the user agent should base the feedback
on the given element (but the exact mechanism for doing so is not specified).
// If "imageNode" is a DOM image with a size of 50 pixel, // then this would attach this image to the cursor, // align it 25 pixel to top-left event.dataTransfer.setDragImage( imageNode, -25, -25 );
| {node} | image | The feedback element to be used as drag feedback |
| {Object} | [left]: 0 | The horizontal pixel offset of the left border of the image relative to the cursor, a positive number moves the image to the right of the cursor, a negative number moves the image left to the cursor |
| {Object} | [top]: 0 | The vertical pixel offset of the top border of the image relative to the cursor, a positive number moves the image to the bottom of the cursor, a negative number moves the image top to the cursor |
effectAllowed.
The value of the property can be set to change the selected operation. The
possible values are none, copy, link,
and move.
The value of the property can be set to modify the list of allowed operations.
The possible values are none, copy,
copyLink, copyMove, link,
linkMove, move, all, and
uninitialized.
dragstart event, it
indicates if a drag operation lifts the target or not.
If an object is dragged, but not lifted, no dragenter,
dragover, dragleave or drop events
are dispatched. Dragging without lift occurs, for example, when the slider
or the scale bar is moved, or when the map is panned. It
means that something is dragged within a limited area and cannot leave that
area -- for example, the thumb shift of a zoom slider cannot leave the zoom
slider, therefore the zoom slider handles the movement of the thumb shift,
and consequently updates the slider within the drag event,
without notifying any other element in the Web site or outside the browser
window.
In dragging without lift, the cursor is not defined by the
dropEffect, but by the cursor property.
dragstart event, otherwise it will only be partially
"near-time".
Note: This property has no effect in native drag and drop and we recommended that you avoid real-time drag and drop operations if possible.