Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Titanium Mobile Events

The documentation is pretty good but there are some items that are incomplete/incorrect so I've put together a list of events that I have found. This is based on iPhone/iPad so it may be missing Android specific items but it should be a good start. If people are interested in this list, let me know and I'll update it as I notice other events.


Ti.APP
  close
  pause
  resume
  proximity

Ti.UI.DashboardView
  delete
  dragStart
  dragEnd
  move
  click
  edit
  commit

Ti.Facebook
  login
  logout
  permission  

Ti.Facebook.LoginButton
  login
  cancel
  logout

Ti.Geolocation
  heading
  location
  calibration

Ti.MapView
  regionChanged
  loading
  complete
  error
  click

Ti.Media.AudioPlayer
  change

Ti.Media.MusicPlayer
  stateChange
  playingChange
  volumeChange

Ti.Media.Sound
  complete
  interrupted
  resume
  error

Ti.Media.VideoPlayer
  complete
  error
  preload
  resize
  load
  fullscreen
  sourceChange
  durationAvailable
  mediaTypesAvailable
  naturalSizeAvailable
  loadstate
  playing
  playbackState  

Ti.Network
  change

Ti.UI.AlertDialog
  click

Ti.UI.Animation
  start
  complete

Ti.UI.Button
  touchstart
  touchend
  click  

Ti.UI.ButtonBar
  click

Ti.UI.CoverFlowView
  change
  click

Ti.UI.EmailDialog
  complete

Ti.UI.ImageView
  change
  stop
  start
  load
  pause  

Ti.UI.iOS.AdView
  change
  load
  action
  error

Ti.UI.iPad.DocumentViewer
  load
  unload
  menu

Ti.UI.iPad.SplitWindow
  visible

Ti.UI.NavBarButton
  click

Ti.UI.OptionDialog
  click

Ti.UI.Picker
  change  

Ti.UI.ScrollView
  scroll
  scale

Ti.UI.ScrollableView
  click
  scroll

Ti.UI.SearchBar
  focus
  blur
  change
  return
  cancel

Ti.UI.Slider
  change

Ti.UI.Switch
  change

Ti.UI.TableView
  touchstart
  touchend
  scroll
  scrollEnd

Ti.UI.Tab
  blur
  focus

Ti.UI.TextField
  focus
  blur
  return
  selected

Ti.UI.View
  singletap
  doubletap
  twofingertap
  touchstart
  touchend
  touchcancel
  touchmove
  click
  dblclick
  swipe

Ti.UI.WebView
  beforeload
  load
  error

Ti.UI.Window
  open
  close    
  blur
  focus
— asked October 7th 2010 by John McKnight
  • events
  • mobile
1 Comment
  • This thread is old, but could you explain how you compiled this list of events?
    Thanks!

    — commented March 4th 2012 by Radu Cirstoiu

8 Answers

  • Accepted Answer

    While this may have been a useful reference a year ago when this question was created, all these events are now documented in the API docs, found below.

    Huge steps have been taken to increase the quality and coverage of the AI docs. We have a team now working solely on this task.

    — answered March 14th 2012 by Tony Lukasavage
    permalink
    0 Comments
  • Great work, please continue updating the list with your findings.

    Ti.Window should be Ti.UI.Window and has also

    blur
    focus
    
    — answered October 7th 2010 by Dan Tamas
    permalink
    1 Comment
    • Good catch, I updated my list.

      — commented October 7th 2010 by John McKnight
  • It's a shame that Titanium is so little documented. This is of great help. Thanks, John.

    By the way, a description of when the event is triggered would be a significative plus :D

    — answered November 17th 2010 by Mat Lop
    permalink
    0 Comments
  • deleted

    — answered October 20th 2010 by Nic Johnson
    permalink
    0 Comments
  • deleted

    — answered October 20th 2010 by Nic Johnson
    permalink
    0 Comments
  • It seems more common than not for SDKs to bury or not include an events list for controls. Thanks for this info. Much needed!

    — answered June 16th 2011 by Seth Davis
    permalink
    0 Comments
  • great work

    — answered December 9th 2011 by Rahul Pandey
    permalink
    1 Comment
    • nice, good job it's very useful

      — commented January 4th 2012 by saravanan P
  • it helped me so much. Thank u and keep going.

    — answered April 7th 2012 by hazem atwa
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.