Module base
Component to handle back key
Functions
back_handler:init(self, callback[, Callback]) | Component init function |
back_handler:on_input(action_id, action) | Input handler for component |
Functions
- back_handler:init(self, callback[, Callback])
-
Component init function
Parameters:
- self table Component instance
- callback callback On back button
- Callback params argument (optional)
- back_handler:on_input(action_id, action)
-
Input handler for component
Parameters: