This mixin can be used for widgets that support mouse clicks and provides the ability to support clicks with the middle mouse button or the control key depressed to open navigation requests in a new browser tab.
The default navigation target to use in processMiddleOrCtrlClick if a middle click or control-click is not detected.
Indicates whether or not a middle-button or control key depresssed mouse click on the link should result in the link being opened in a new browser tab. If this is configured to be true then the a "target" attribute of "NEW" will be configured on the payload.
processMiddleOrCtrlClick(evt, publishTopic, publishPayload)
For navigation topics the click action is checked for a middle mouse click or control key depressed mouse click if the payload does not request that the navigation target is a new browser tab then it will be added. No change will be made if newTabOnMiddleOrCtrlClick is not configured to be true.
Name Type Description
object The link click event
string The topic to be published as a result of the click
object The payload to be published as a result of the click