ondragend Event

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Fires on the element for the movable behavior when the user ends a drag operation.

Syntax

Event Property movable.ondragend = handler;
attachEvent movable.attachEvent( "ondragend", handler);
Named script <SCRIPT FOR = movable EVENT = ondragend>

Event Information

Bubbles No
Cancels Yes
To invoke Drag an element participating in the movable behavior.
Default action Calls the associated event handler if there is one.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query the event object for the following event properties.

Available Properties

altKey Gets a value that indicates the state of the ALT key.
cancelBubble Sets or retrieves whether the current event should bubble up the hierarchy of event handlers.
clientX Gets or sets the x-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars.
clientY Gets or sets the y-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars.
ctrlKey Gets or sets the state of the CTRL key.
dataTransfer Provides access to predefined clipboard formats for use in drag-and-drop operations.
offsetX Gets or sets the x-coordinate of the mouse pointer's position relative to the object firing the event.
offsetY Gets or sets the y-coordinate of the mouse pointer's position relative to the object firing the event.
returnValue Sets or retrieves the return value from the event.
screenX Gets or sets the x-coordinate of the mouse pointer's position relative to the user's screen.
screenY Gets or sets the y-coordinate of the mouse pointer's position relative to the user's screen.
srcElement Gets or sets the object that fired the event.
type Gets or sets the event name from the event object.
x Gets or sets the x-coordinate (in pixels) of the mouse pointer's offset from the closest relatively positioned parent element of the element that fired the event.
y Gets or sets the y-coordinate (in pixels) of the mouse pointer's offset from the closest relatively positioned parent element of the element that fired the event.

Refer to the specific event object for additional event properties.

Applies To

movable