mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
simplified events, added compute
This commit is contained in:
@@ -12,7 +12,7 @@ class MyApp(App):
|
||||
await self.bind("b", "view.toggle('sidebar')", "Toggle sidebar")
|
||||
await self.bind("q", "quit", "Quit")
|
||||
|
||||
async def on_startup(self, event: events.Startup) -> None:
|
||||
async def on_mount(self, event: events.Mount) -> None:
|
||||
|
||||
body = ScrollView()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user