Click or drag to resize

EventSourceconnect Method

Connects the host event source to the specified script handler function.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax
public EventConnection connect(
	Object scriptFunc
)

Parameters

scriptFunc
Type: SystemObject
The script function that will handle the event.

Return Value

Type: EventConnection
An EventConnection that represents the connection.
See Also