Skip to content

Commit

Permalink
Add DrillModalDownloadEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
EricNelson12 committed Oct 29, 2024
1 parent 23e6ab9 commit a4c0ddb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,21 @@ export interface DrillMenuEvent extends LookerEmbedEvent {
addFilterJson: AddFilterJson
}

/**
* Drill modal download event
*/
export interface DrillModalDownloadEvent extends LookerEmbedEvent {
dashboard: {
id: string | number
title: string
url: string
absoluteUrl: string
dashboard_filters: LookerEmbedFilterParams
}
drillExploreUrl: string
fileFormat: string
}

/**
* Drill Modal Explore from Here event
*
Expand Down Expand Up @@ -563,6 +578,10 @@ export interface LookerEmbedEventMap {
this: LookerEmbedBase,
event: DrillMenuEvent
) => CancellableEventResponse | undefined
'drillmodal:download': (
this: LookerEmbedBase,
event: DrillModalDownloadEvent
) => void
'drillmodal:explore': (
this: LookerEmbedBase,
event: DrillModalExploreEvent
Expand Down

0 comments on commit a4c0ddb

Please sign in to comment.