{"modulePath":"github.com/dracory/nodebase","version":"v0.7.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package uinotification\n\nPackage uinotification contains the uiNotification dashboard widget: a toast on the dashboard page driven by the incoming message (text/level). Level defaults to \"info\"; an explicit ui.level or a payload map's \"level\" key wins.\n\n## Types\n\n```go\ntype UINotificationNode struct {\n\t*nodebase.UIWidgetNode\n}\n```\nUINotificationNode pushes {\"text\": ..., \"level\": ...} to the dashboard sink. The client toasts only on live updates — manifest replay does not re-fire stale notifications.\n\n```go\nfunc NewUINotificationNode(node nodestore.NodeInterface, host nodebase.NodeHost) *UINotificationNode\n```\nNewUINotificationNode creates a new uiNotification widget node.\n\n```go\nfunc (n *UINotificationNode) Execute(ctx context.Context, in nodestore.MessageInterface) (nodestore.MessageInterface, error)\n```\nExecute pushes {\"text\": ..., \"level\": ...} to the hub.\n\n","path":"github.com/dracory/nodebase/uinotification","name":"uinotification","synopsis":"Package uinotification contains the uiNotification dashboard widget: a toast on the dashboard page driven by the incoming message (text/level).","isRedistributable":true}
