Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UrlActionEvent

An event that can signal when a URL action occurs.

function urlActionEventHandler(event) {
    console.log('URL: ' + event.detail.url);
    console.log('Target: ' + event.detail.target);
}

let viz = document.getElementById('tableauViz');
viz.addEventListener(TableauEventType.UrlAction, urlActionEventHandler);

Hierarchy

  • UrlActionEvent

Index

Properties

Properties

target

target: string
returns

The target attribute associated with URL (for example, the identifier associated with a browser tab).

url

url: string
returns

The URL associated with the event.