WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIScriptEventHandler
| IID: | 375f787f-8d3a-4344-b540-293d5645c22c |
| Inherits From: | nsISupports |
Methods
void Invoke ( nsISupports targetObject , voidPtr* args , PRUint32 argCount )
PRBool IsSameEvent ( AString objectName , AString eventName , PRUint32 argCount )
void Invoke ( nsISupports targetObject , voidPtr* args , PRUint32 argCount )
Invoke:
Executes this script handler.
- Arguments:
- targetObject: Object to which the script handler is bound.
- args: Array of arguments passed to the script handler. This is an array of jsvals.
- argCount: Number of elements in the args array.
PRBool IsSameEvent ( AString objectName , AString eventName , PRUint32 argCount )
IsSameEvent:
Determines if this script event handler is bound to the given object and event name.
- Arguments:
- objectName: Name of the object raising the event.
- eventName: Name of the event being raised.
- argCount: Number of arguments expected by the event handler.
Reference documentation is generated from Mozilla's source.
