Skip to main content

ModularItemClickCommon

Callable


  • A common click handler for modular item screens. Note that pagination is not currently handled, but will be added in the future.


    Parameters

    • data: ModularItemData
    • drawData: ExtendedItemDrawData<Modular>
    • exitCallback: () => void

      A callback to be called when the exit button has been clicked

      • itemCallback: (arg0: number) => void

        A callback to be called when an item has been clicked

        • paginateCallback: (arg0: number) => void

          A callback to be called when a pagination button has been clicked

          Returns void

          • Nothing