Titanium Mobile Events

You must Login before you can answer or comment on any questions.

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 2 years ago by John McKnight
1 Comment
  • This thread is old, but could you explain how you compiled this list of events? Thanks!

    — commented 3 months ago 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.

Great work, please continue updating the list with your findings.

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

blur
focus

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

It seems more common than not for SDKs to bury or not include an events list for controls. Thanks for this info. Much needed!

Your Answer

Think you can help? Login to answer this question!