Skip to main content

HyperlinkClickEventArgs Class

Contains data for the HyperlinkClick event.

Declaration

export class HyperlinkClickEventArgs extends EventArgs

Remarks

The HyperlinkClick event occurs when a hyperlink is clicked. The event handler receives an argument of the HyperlinkClickEventArgs type. The argument’s properties provide information specific to this 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.).

Returns the clicked hyperlink.

hyperlink: Hyperlink
Type Description
Hyperlink

A hyperlink object.

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.