You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/tabs.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,13 @@ Ionic has guides on best practices for routing patterns with tabs. Check out the
48
48
49
49
:::
50
50
51
+
## Programmatically Selecting Tabs
52
+
53
+
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.
54
+
55
+
import SelectMethod from '@site/static/usage/v8/tabs/select-method/index.md';
0 commit comments