[ type ] LinkEvent

Description:

Event object passed to hyperlink event handlers in DocumentEditor > onLinkEvents.

Type: Object

Properties:

Name Type Description

target

DocumentEditor

The component that triggered the event.

type

string

The event type: click, mouseenter, or mouseleave.

url

string

The href attribute of the <a> tag.

text

string

The text content of the hyperlink.

shift

boolean

Whether the Shift key was pressed.

ctrl

boolean

Whether the Ctrl key was pressed.

alt

boolean

Whether the Alt key was pressed.

modifiers

string

Keyboard modifiers mask.

modifiersText

string

String representation of the keyboard modifiers.

Also See: