Skip to content

Commit

Permalink
docs(api): mark set/getActiveTab and getTabs methods removed on TabGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Mar 30, 2021
1 parent e128bd9 commit 580cffc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions apidoc/Titanium/UI/TabGroup.yml
Expand Up @@ -252,6 +252,15 @@ methods:
platforms: [android]
since: 3.6.0

- name: getActiveTab
summary: Gets the currently-active tab.
returns:
type: Titanium.UI.Tab
deprecated:
since: "10.0.0"
removed: "10.0.0"
notes: Use the <Titanium.UI.TabGroup.activeTab> property instead.

- name: open
summary: Opens the tab group and makes it visible.

Expand All @@ -263,10 +272,25 @@ methods:
summary: Tab to remove.
type: Titanium.UI.Tab

- name: setActiveTab
summary: Selects the currently active tab in a tab group.
parameters:
- name: indexOrObject
summary: Index or object of the tab to switch to.
type: [Number, Titanium.UI.Tab]
deprecated:
since: "10.0.0"
removed: "10.0.0"
notes: Use the <Titanium.UI.TabGroup.activeTab> property instead.

- name: getTabs
summary: Gets all tabs that are managed by the tab group.
returns:
type: Array<Titanium.UI.Tab>
deprecated:
since: "10.0.0"
removed: "10.0.0"
notes: Use the <Titanium.UI.TabGroup.tabs> property instead.

properties:
- name: activeTab
Expand Down

0 comments on commit 580cffc

Please sign in to comment.