Skip to content

Commit

Permalink
docs(keyboard) add note regarding event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt authored Jun 23, 2021
1 parent e66b935 commit 255f729
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/widgets/extra/keyboard.md
Original file line number Diff line number Diff line change
@@ -54,6 +54,13 @@ Keep in mind that using following keywords will have the same effect as with the

The keyboard has a **default event handler** callback called `lv_keyboard_def_event_cb`, which handles the button pressing, map changing, the assigned text area, etc. You can remove it and replace it with a custom event handler if you wish.

```eval_rst
.. note::
In 8.0 and newer, adding an event handler to the keyboard does not remove the default event handler.
This behavior differs from v7, where adding an event handler would always replace the previous one.
```


Learn more about [Events](/overview/event).

## Keys

0 comments on commit 255f729

Please sign in to comment.