Browse Source

#458 fix kwargs in ui.notify

Falko Schindler 2 years ago
parent
commit
64d9e7dbb2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      nicegui/functions/notify.py

+ 1 - 0
nicegui/functions/notify.py

@@ -24,4 +24,5 @@ def notify(message: Any, *,
     """
     options = {key: value for key, value in locals().items() if not key.startswith('_') and value is not None}
     options['message'] = str(message)
+    options.update(kwargs)
     outbox.enqueue_message('notify', options, globals.get_client().id)