From 4ffcbc467d3cd7d0738552b596c2b663a93b184b Mon Sep 17 00:00:00 2001 From: anseki Date: Fri, 25 Aug 2017 16:40:43 +0900 Subject: [PATCH] Add information about Pagenation --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 054e1c7..96a0a70 100644 --- a/README.md +++ b/README.md @@ -1403,6 +1403,8 @@ The default value of `query` is `'Choose one from list: '`. The minimum length of `items` Array is 1 and maximum length is 35. These elements are displayed as item list. A key to let the user choose an item is assigned to each item automatically in sequence like "1, 2, 3 ... 9, A, B, C ...". A number as an index of the `items` Array that corresponds to a chosen item by the user is returned. +*Note:* Even if the `items` Array has items less than 35, a long Array that forces an user to scroll the list may irritate the user. Remember, the user might be in a console environment that doesn't support scrolling the screen. If you want to use a long (e.g. items more than 10) `items` Array, you should consider a "Pagenation". + For example: ```js