This commit is contained in:
Will McGugan
2024-11-19 15:19:59 +00:00
parent 5cf1ced22f
commit 4ff8e096e9

View File

@@ -397,7 +397,7 @@ Reactive attributes work like any other attribute, such as those you might set i
To add a reactive attribute, import [reactive][textual.reactive.reactive] and create an instance in your class scope.
Let's see this an action, by adding reactives to our stopwatch which we will use to calculate the elapsed time when a Stopwatch is started.
Let's add reactives to our stopwatch to calculate and display the elapsed time.
```python title="stopwatch05.py" hl_lines="1 5 12-27 45"
--8<-- "docs/examples/tutorial/stopwatch05.py"