| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

EventModel

Page history last edited by PBworks 18 years ago


 

EventModel

(extends Object)


Object Summary

 

A helper object which is used for packing and transporting events EventHandler to EventRegistry.

 

This object models a DHTML event. Events are wrapped into an EventModel and registered to the EventRegistry.

 

This object is a helper object, it is not used alone.


Constructor

 

EventModel(elmID,strEventType,fncEventListener,objEventHandler)

 

parameters

elmID - The String index or the object reference to the DHTML element that the event is attached.

strEventType - The event type such as "mousemove", "mouseover", "click", "focus" etc.

fncEventListener - The reference to the event handling function.

objEventHandler - The EventHandler object that is in charge.

 

comments

Packages an event in order to register to the EventRegistry.


EventModel.unregister()

 

comments

Detaches the attached event from the object.


EventModel.register()

 

comments

Registers the EventModel to the registry.


See Also

 

None given.


Usage Examples

 

None given. Edit this page and be the first one to add a usage example.

Comments (0)

You don't have permission to comment on this page.