fix
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
97b3a4a3e0
commit
22e3286b96
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ let widgetApi: WidgetApi;
|
|||
`action:${WidgetApiToWidgetAction.ButtonClicked}`,
|
||||
(ev: CustomEvent<IWidgetApiRequest>) => {
|
||||
console.log("@@ clickety", ev.detail);
|
||||
document.getElementById("button").innerText = "BUTTON CLICKED: " + JSON.stringify(req.data);
|
||||
document.getElementById("button").innerText = "BUTTON CLICKED: " + JSON.stringify(ev.detail.data);
|
||||
setTimeout(() => {
|
||||
widgetApi.closeModalWidget(ev.detail.data);
|
||||
}, 3000);
|
||||
|
|
Loading…
Add table
Reference in a new issue