UrlActionEventInterface UrlActionEventAn 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); interface UrlActionEvent { target: string; url: string;}IndexPropertiestarget url PropertiesReadonlytargettarget: stringReturnsThe target attribute associated with URL (for example, the identifier associated with a browser tab). Readonlyurlurl: stringReturnsThe URL associated with the event. SettingsMember VisibilityProtectedInheritedExternalThemeOn This PagePropertiestargeturl
UrlActionEventInterface UrlActionEventAn 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); interface UrlActionEvent { target: string; url: string;}IndexPropertiestarget url PropertiesReadonlytargettarget: stringReturnsThe target attribute associated with URL (for example, the identifier associated with a browser tab). Readonlyurlurl: stringReturnsThe URL associated with the event. SettingsMember VisibilityProtectedInheritedExternalThemeOn This PagePropertiestargeturl
An event that can signal when a URL action occurs.