Library zDragDrop

Introduction

zDragDrop is an open source (LGPL) JavaScript library designed to ease the creation of drag and drop functionality in DOM Web browsers.

Requirements

Classes

zDrag

The zEvent class is based on the DOM Event interface and is used to provide contextual information about an event to the handler processing the event. A subclass of zEvent is generally passed as the first parameter to an event handler. More specific context information is passed to event handlers by deriving additional subclasses from zEvent which contain information directly relating to the type of event they accompany.

zDraggable

The zEvent class is based on the DOM Event interface and is used to provide contextual information about an event to the handler processing the event. A subclass of zEvent is generally passed as the first parameter to an event handler. More specific context information is passed to event handlers by deriving additional subclasses from zEvent which contain information directly relating to the type of event they accompany.

zDragDropEvent

The zEventTarget class is based on the DOM EventTarget interface and is used to provide registration and removal of event listeners on an object and to dispatch of events to that object. This class is not intended to be used by itself, but rather as a superclass for objects needing to support events.

zDropTarget

The zEventTarget class is based on the DOM EventTarget interface and is used to provide registration and removal of event listeners on an object and to dispatch of events to that object. This class is not intended to be used by itself, but rather as a superclass for objects needing to support events.

Library zEvents

Introduction

zEvents is an open source (LGPL) JavaScript library designed to ease the creation of custom objects that support DOM-style events and event handlers. The classes contained within the zEvents library are not standalone; they are designed to be "abstract" classes that can be inherited from to provide event functionality.

Classes

zEvent

The zEvent class is based on the DOM Event interface and is used to provide contextual information about an event to the handler processing the event. A subclass of zEvent is generally passed as the first parameter to an event handler. More specific context information is passed to event handlers by deriving additional subclasses from zEvent which contain information directly relating to the type of event they accompany.

zEventTarget

The zEventTarget class is based on the DOM EventTarget interface and is used to provide registration and removal of event listeners on an object and to dispatch of events to that object. This class is not intended to be used by itself, but rather as a superclass for objects needing to support events.