Przeglądaj źródła

move timer into elements directory

Falko Schindler 1 rok temu
rodzic
commit
abfe9e6049
3 zmienionych plików z 2 dodań i 2 usunięć
  1. 0 0
      nicegui/elements/timer.js
  2. 0 0
      nicegui/elements/timer.py
  3. 2 2
      nicegui/ui.py

+ 0 - 0
nicegui/functions/timer.js → nicegui/elements/timer.js


+ 0 - 0
nicegui/functions/timer.py → nicegui/elements/timer.py


+ 2 - 2
nicegui/ui.py

@@ -70,6 +70,7 @@ __all__ = [
     'tabs',
     'textarea',
     'time',
+    'timer',
     'timeline',
     'timeline_entry',
     'toggle',
@@ -84,7 +85,6 @@ __all__ = [
     'notify',
     'open',
     'refreshable',
-    'timer',
     'update',
     'page',
     'drawer',
@@ -170,6 +170,7 @@ from .elements.textarea import Textarea as textarea
 from .elements.time import Time as time
 from .elements.timeline import Timeline as timeline
 from .elements.timeline import TimelineEntry as timeline_entry
+from .elements.timer import Timer as timer
 from .elements.toggle import Toggle as toggle
 from .elements.tooltip import Tooltip as tooltip
 from .elements.tree import Tree as tree
@@ -181,7 +182,6 @@ from .functions.javascript import run_javascript
 from .functions.notify import notify
 from .functions.open import open  # pylint: disable=redefined-builtin
 from .functions.refreshable import refreshable
-from .functions.timer import Timer as timer
 from .functions.update import update
 from .page import page
 from .page_layout import Drawer as drawer