Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/api/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Ionic has guides on best practices for routing patterns with tabs. Check out the

Tabs can be selected programmatically using the `select` method. This is useful when tab changes need to be triggered from application logic, such as in response to a button click or after completing a form. The following example demonstrates using a button to call the `select` method to navigate to a different tab.

In React and Vue, `select` only works when tabs are used without a router outlet. With a router outlet, the selected tab follows the URL, so navigate with the router to change tabs.

import SelectMethod from '@site/static/usage/v9/tabs/select-method/index.mdx';

<SelectMethod />
Expand Down
2 changes: 2 additions & 0 deletions versioned_docs/version-v8/api/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Ionic has guides on best practices for routing patterns with tabs. Check out the

Tabs can be selected programmatically using the `select` method. This is useful when tab changes need to be triggered from application logic, such as in response to a button click or after completing a form. The following example demonstrates using a button to call the `select` method to navigate to a different tab.

In React and Vue, `select` only works when tabs are used without a router outlet. With a router outlet, the selected tab follows the URL, so navigate with the router to change tabs.

import SelectMethod from '@site/static/usage/v8/tabs/select-method/index.mdx';

<SelectMethod />
Expand Down
Loading