mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
an -> a
This commit is contained in:
@@ -76,7 +76,7 @@ Let's use Static to create a widget which cycles through "hello" in various lang
|
||||
|
||||
Note that there is no `render()` method on this widget. The Static class is handling the render for us. Instead we call `update()` when we want to update the content within the widget.
|
||||
|
||||
The `next_word` method updates the greeting. We call this method from the mount handler to get the first word, and from an click handler to cycle through the greetings when we click the widget.
|
||||
The `next_word` method updates the greeting. We call this method from the mount handler to get the first word, and from a click handler to cycle through the greetings when we click the widget.
|
||||
|
||||
### Default CSS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user