GxTitle.HyperlinkClick

Syntax

HyperlinkClick: function(sender, args)

Parameters

sender. Event source.

args. Information about event. Arguments: Event - fired event; Element - the hyperlink, by which the click occurred; Break - indicates if the event is cancelled (if the value is True, the event is enabled, otherwise it is disabled).

Description

The HiperlinkClick event occurs on pressing a title hyperlink.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Add a handler of the event of clicking on title hyperlink:

// Get title
var title = expressBox.getDataView().getTitleView();
// Add a handler of the event of clicking on title hyperlink
title.HyperlinkClick.add(function(sender, args) {
    console.log("Title hyperlink is clicked");
})

After clicking the title hyperlink the drop-down menu appears, and the console displays a message about clicking on the hyperlink:

Title hyperlink is clicked

See also:

GxTitle