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
@@ -23,7 +21,6 @@ import ItemNavigationBehavior from "../types/ItemNavigationBehavior.js";
23
21
* - Up/down
24
22
* - Left/right
25
23
* - Home/End
26
-
* - PageUp/PageDown
27
24
*
28
25
* Usage:
29
26
* 1) Use the "getItemsCallback" constructor property to pass a callback to ItemNavigation, which, whenever called, will return the list of items to navigate among.
@@ -57,11 +54,9 @@ class ItemNavigation extends EventProvider {
57
54
* - currentIndex: the index of the item that will be initially selected (from which navigation will begin)
58
55
* - navigationMode (Auto|Horizontal|Vertical): whether the items are displayed horizontally (Horizontal), vertically (Vertical) or as a matrix (Auto) meaning the user can navigate in both directions (up/down and left/right)
59
56
* - rowSize: tells how many items per row there are when the items are not rendered as a flat list but rather as a matrix. Relevant for navigationMode=Auto
60
-
* - behavior (Static|Cycling|Paging): tells what to do when trying to navigate beyond the first and last items
57
+
* - behavior (Static|Cycling): tells what to do when trying to navigate beyond the first and last items
61
58
* Static means that nothing happens if the user tries to navigate beyond the first/last item.
62
59
* Cycling means that when the user navigates beyond the last item they go to the first and vice versa.
63
-
* Paging means that when the urse navigates beyond the first/last item, a new "page" of items appears (as commonly observed with calendars for example)
64
-
* - pageSize: tells how many items the user skips by using the PageUp/PageDown keys
65
60
* - getItemsCallback: function that, when called, returns an array with all items the user can navigate among
66
61
* - affectedPropertiesNames: a list of metadata properties on the root component which, upon user navigation, will be reassigned by address thus causing the root component to invalidate
67
62
*/
@@ -76,8 +71,6 @@ class ItemNavigation extends EventProvider {
0 commit comments