mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
docs(keyboard) add note regarding event handler
This commit is contained in:
parent
e66b935061
commit
255f7294d3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user