mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 02:17:52 +02:00
664 B
664 B
druid.back_handler API
at /druid/base/back_handler.lua
The component that handles the back handler action, like backspace or android back button
Functions
Fields
init
back_handler:init([callback], [params])
- Parameters:
[callback]
(function|nil): The callback to call when the back handler is triggered[params]
(any): Custom args to pass in the callback
Fields
- on_back (event): Trigger on back handler action, fun(self, params)
- params (any): Custom args to pass in the callback