HtmlControlAddEventListener Method

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Add an event handler to a Javascript event handler list on this HtmlControl.

Namespace:  ArtOfTest.WebAii.Controls.HtmlControls
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public virtual bool AddEventListener(
	string eventType,
	EventHandler<JavascriptEventArgs> listener
)

Parameters

eventType
Type: SystemString
The event type to add the handler to.
listener
Type: SystemEventHandlerJavascriptEventArgs
The event handler to add.

Return Value

Type: Boolean
True/False indicating whether or not the event handler was successfully added.
See Also

Reference