mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstrings
This commit is contained in:
@@ -127,15 +127,19 @@ class Animator:
|
||||
)
|
||||
|
||||
async def start(self) -> None:
|
||||
"""Start the animator task."""
|
||||
|
||||
self._timer.start()
|
||||
|
||||
async def stop(self) -> None:
|
||||
"""Stop the animator task."""
|
||||
try:
|
||||
await self._timer.stop()
|
||||
except asyncio.CancelledError:
|
||||
pass
|
||||
|
||||
def bind(self, obj: object) -> BoundAnimator:
|
||||
"""Bind the animator to a given objects."""
|
||||
return BoundAnimator(self, obj)
|
||||
|
||||
def animate(
|
||||
|
||||
Reference in New Issue
Block a user