Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hughrawlinson authored and npentrel committed May 26, 2024
1 parent 9699d2c commit ce56d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tildagon-apps/widgets-and-hardware/badge-hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ You can also use the `ButtonDownEvent` and the `ButtonUpEvent` directly with an
# perform other actions as needed
```

3. Add an event handler in the `__init__` method of your app with the event (`ButtonDownEvent` or `ButtonUpEvent`) and a function that should be called when the event happens. Depending on whether the event handler is a synchronoush or asynchronoush method call `on()` or `on_async`:
3. Add an event handler in the `__init__` method of your app with the event (`ButtonDownEvent` or `ButtonUpEvent`) and a function that should be called when the event happens. Depending on whether the event handler is a synchronous or asynchronous method call `on()` or `on_async`:

```python
def __init__(self):
Expand Down

0 comments on commit ce56d52

Please sign in to comment.