Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/miller-columns.git
README.md
<script type="text/javascript">
- $(document).ready( function() { $("div.columns").millerColumns(); });
+ $(document).ready( function() {
+ $("div.columns").millerColumns({
+ current: function( $item ) {
+ console.log( "User selected: " + $item.text() );
+ }
+ });
+ });
</script>
```
+
+The `current` function is called when the user selects an item. The $item
+parameter is the item that the user selected. If the user presses the Escape
+key (or otherwise deselects all items), then $item will be `undefined`.
Body:

Clarification of behaviour for when no selection is made.

Author Dave Jarvis <email>
Date 2015-01-03 02:51:14 GMT-0800
Commit 91ab50f9b7e6f345eca9337f7c4d8a2a1594c050
Parent b4994bb
Delta 11 lines added, 1 line removed, 10-line increase