From 4325700ad6d7e58a81b6243c2aa532af6643846c Mon Sep 17 00:00:00 2001 From: anovi Date: Fri, 27 Dec 2013 22:14:43 +0400 Subject: [PATCH] Update readme and version. --- README.md | 4 ++-- bower.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9256607..e85bcfe 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ jQuery based plugin for making any list of items selectable by mouse and keyboar **Features**: - Single or multiple selection (uses CSS-classes); - Keyboard input like in classic filemanagers; -- Possibility to set handle – checkbox or other element for selecting items; +- Possibility to set handle – elements for selecting items; - Auto-scrolling list's element and window; - And other configurable stuff. @@ -57,7 +57,7 @@ Option | Description | Type | Default **selectionBlur** | List clears selection when user clicks outside of the list. | Boolean | false **mouseMode** | `select` – mouse click selects target item and clear other selection in a list; to add/remove item to selection user need holding **ctrl** key (file manager style);
`toggle` – mouse click to select/unselect items (like group of checkboxes); | String | "select" **event** | `mousedown` – item will be selected when user push on left mouse button.
`click` – item will be selected when user click (press and release) on left mouse button.
`hybrid` – unselected items will react on mousedown, but selected items will react on click (press and release). It can be usefull when there is another plugin, for example to dragging selected items. | String | "mousedown" -**handle** | Matches child elemets, that will be served as clickable area inside each item to select/unselect these items. | String | null +**handle** | Matches child elemets, that will be served as clickable area inside each item to select/unselect these items. I do not reccomend to use `` for that purpose. If you need a checkbox - make a custom one with html/css. | String | null **textSelection** | Allow text selection in a list's element. It could be annoying when you selecting items with `shift`+`click`. | Boolean | false **keyboard** | Possibility to use keys **Up**, **Down** and **Home**, **End** to move cursor (focus), select range of items by holding **shift** and select all items by pressing **ctrl+A**. | Boolean | false **autoScroll** | Scrollable element. When user moves cursor by keys **Up**, **Down**, **Home**, **End** – plugin calculates elements's scroll position in a way that focused item is always visible. Accepts values:
`true` – list's element is scrollable;
`false` – no scrollable element;
`selector (String)` – custom element that is not list's element. | Boolean or String | true diff --git a/bower.json b/bower.json index f6a06c8..db06f58 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "selectonic", "title": "Selectonic", - "version": "0.2.2", + "version": "0.2.3", "description": "jQuery-plugin for making any list of items selectable by mouse and keyboard.", "homepage": "https://github.com/anovi/selectonic", "author": {