Browse Source

fix documentation

Falko Schindler 2 years ago
parent
commit
54aa9da049
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nicegui/timer.py

+ 1 - 1
nicegui/timer.py

@@ -25,7 +25,7 @@ class Timer:
         A timer will execute a callback repeatedly with a given interval.
 
         :param interval: the interval in which the timer is called (can be changed during runtime)
-        :param callback: function or coroutine to execute when interval elapses (can return `False` to prevent view update)
+        :param callback: function or coroutine to execute when interval elapses
         :param active: whether the callback should be executed or not (can be changed during runtime)
         :param once: whether the callback is only executed once after a delay specified by `interval` (default: `False`)
         """