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: app/ns-ui-widgets-category/tabs/properties/article.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,16 @@
9
9
10
10
-`offscreenTabLimit: number;` - Gets or sets the number of offscreen preloaded tabs of the Tabs.
11
11
12
+
Example:
13
+
14
+
- Let's assume that the TabContentItem[1] is selected (`selectedIndex = 1`) and `offscreenTabLimit` is set to 1.
15
+
16
+
**Result:** The content for TabContentItem[0] and TabContentItem[2] will be pre-loaded.
17
+
18
+
- Select TabContentItem[2] (`selectedIndex = 2`).
19
+
20
+
**Result:** TabContentItem[0] will be unloaded and TabContentItem[3] will be pre-loaded.
21
+
12
22
-`tabsPosition: "top" | "bottom";` - Gets or sets the position state of the Tabs.
13
23
14
24
-`android: any` /* android.view.View */; - Gets the native [android widget](http://developer.android.com/reference/android/support/v4/view/ViewPager.html) that represents the user interface for this component. Valid only when running on Android OS.
0 commit comments