Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16887

TiAPI: Add an event on TabGroup that fires before a Tab is focused

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.2
    • Fix Version/s: None
    • Component/s: TiAPI
    • Labels:
    • Environment:

      iOS 7

      Description

      I would like to have an event that fires when handleWillShowTab is fired. Currently, the focus-event fires when handleDidShowTab has fired. I would like to do some UI-changes while changing tab, and found that firing an event in handleWillShowTab instead makes it a bit quicker (probably because it's fired before the tab content is rendered?)

      As a quick fix I created my own event called "willShowTab", as I'm sure there are different use-cases for events just before and after the tab has changed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                arood Marcus Olovsson
              • Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code