Skip to content

Commit

Permalink
Adds option to update view URL in container
Browse files Browse the repository at this point in the history
  • Loading branch information
walmazacn committed Nov 20, 2024
1 parent a184a2a commit 5e33160
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions container/src/LuigiContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@
}
};
thisComponent.updateViewUrl = (viewUrl: string, internal?: object) => {
if (viewUrl?.length) {
ContainerAPI.updateViewUrl(viewUrl, internal, iframeHandle);
}
};
thisComponent.closeAlert = (id: any, dismissKey: any) => {
ContainerAPI.closeAlert(id, dismissKey, iframeHandle);
};
Expand Down

0 comments on commit 5e33160

Please sign in to comment.