expose pages as public api in App()
This commit is contained in:
parent
6848915883
commit
5eb3db4a28
@ -426,6 +426,15 @@ class App(MiddlewareMixin, LifespanMixin):
|
||||
"""
|
||||
return self._event_namespace
|
||||
|
||||
@property
|
||||
def pages(self) -> Dict[str, Component]:
|
||||
"""Get the compiled pages.
|
||||
|
||||
Returns:
|
||||
The compiled pages.
|
||||
"""
|
||||
return self._pages
|
||||
|
||||
def __post_init__(self):
|
||||
"""Initialize the app.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user