Skip to main content
A newer version of this page is available. .

HyperlinkClickEventArgs Class

Provides data for an event that occurs when a hyperlink is clicked.

Declaration

export class HyperlinkClickEventArgs extends EventArgs

Remarks

Use the OnHyperlinkClick(String) property to assign a handler to the event.

Inheritance

EventArgs
HyperlinkClickEventArgs

Properties

handled Property

Specifies whether the event is handled.

Declaration

handled: boolean

Property Value

Type Description
boolean

true if the event is handled and no default processing is required; otherwise false.

htmlEvent Property

Gets a DHTML event object that relates to the processed event.

Declaration

htmlEvent: MouseEvent

Property Value

Type Description
MouseEvent

An object that maintains DHTML event-specific information.

Remarks

Use the htmlEvent property to access an object that contains DHTML event information (such as the HTML element in which the event occurred, the state of the keyboard keys, the location of the mouse, the state of the mouse buttons, etc.).

hyperlinkType Property

Identifies the clicked hyperlink type.

Declaration

hyperlinkType: DocumentLinkType

Property Value

Type Description
DocumentLinkType

The hyperlink type.

targetUri Property

Gets the clicked link’s URI.

Declaration

targetUri: string

Property Value

Type Description
string

The link’s URI.