We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c523f6 commit 4356200Copy full SHA for 4356200
python/apps/controls-gallery/examples/input/searchbar/01_searchbarexample.py
@@ -4,13 +4,13 @@
4
5
6
def example():
7
- async def close_anchor(e):
+ def close_anchor(e):
8
text = f"Color {e.control.data}"
9
print(f"closing view from {text}")
10
- await anchor.close_view_async(text)
+ anchor.close_view(text)
11
12
- async def open_anchor(e):
13
- await anchor.open_view_async()
+ def open_anchor(e):
+ anchor.open_view()
14
15
def handle_change(e):
16
print(f"handle_change e.data: {e.data}")
0 commit comments