Open nicovon24 opened 5 months ago
Hello, anyone knows how to show a toast notification using widget content, ctx or any variable in for example a Custom Action HTML? Thanks and have a good weekend!
Details on toast API is here
self.ctx.showToast('success', 'Toast message', 3000, 'top', 'center', 'dashboardRoot');
As a toast parent you can use either self.ctx.toastTargetId or dashboardRoot (last argument in the example)
self.ctx.toastTargetId
dashboardRoot
Hello, anyone knows how to show a toast notification using widget content, ctx or any variable in for example a Custom Action HTML? Thanks and have a good weekend!