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:

  • action_id string on_input action id
  • action table on_input action
generated by LDoc 1.4.6 Last updated 2019-12-05 21:36:59