Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timob-11888: update doc for the supported events on TabGroup #3889

Merged
merged 3 commits into from
Feb 22, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
53 changes: 53 additions & 0 deletions apidoc/Titanium/UI/TabGroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,59 @@ since: "0.9"
excludes: { methods:[removeAllChildren] }

events:
- name: androidback
platforms: [android]
summary: Fired when the back button is pressed by the user.
description: |
This event is fired when the current tab group's activity detects
a back button press by the user to navigate back.

By default this event would trigger the current activity to be finished
and removed from the task stack. Subscribing to this event with a listener
will prevent the default behavior. To finish the activity from your listener
just call the *close* method of the tab group.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

close should be enclosed with backticks --- close

since: '3.0.0'

- name: androidcamera
summary: Fired when the Camera button is released.
description: |
Setting a listener disables the default key handling for this button. To restore
default behavior, remove the listener.
platforms: [android]
since: '3.0.0'

- name: androidfocus
summary: Fired when the Camera button is half-pressed then released.
description: |
Setting a listener disables the default key handling for this button. To restore
default behavior, remove the listener.
platforms: [android]
since: '3.0.0'

- name: androidsearch
summary: Fired when the Search button is released.
description: |
Setting a listener disables the default key handling for this button. To restore
default behavior, remove the listener.
platforms: [android]
since: '3.0.0'

- name: androidvoldown
summary: Fired when the volume down button is released.
description: |
Setting a listener disables the default key handling for this button. To restore
default behavior, remove the listener.
platforms: [android]
since: '3.0.0'

- name: androidvolup
summary: Fired when the volume up button is released.
description: |
Setting a listener disables the default key handling for this button. To restore
default behavior, remove the listener.
platforms: [android]
since: '3.0.0'

- name: blur
summary: |
Fired when this tab group loses focus. On Android, fired when a tab in this tab group
Expand Down