Click or drag to resize

EventSourceTconnect Method

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

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntax
public EventConnection<T> connect(
	Object scriptFunc
)

Parameters

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

Return Value

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