list.js v1.0.0 Release Notes
Release Date: 2013-11-12 // over 10 years ago-
- [Feature] Add more events and enable to add them on initialization.
- [Feature] Add support for Component.js, Bower, RequireJS and CommonJS
- [Feature] Make it possible to remove event handlers by
.off('event', handler)
- [Improvement] Many new tests
- [Improvement] Paging plugin default classes and structure now correspons to Twitter Bootstraps pagination.
- [Improvement] Make sorting case-insensitive (thanks @thomasklemm)
- [Improvement] Add item._values for direct access to a items values. Simplifies debugging. Note: Always use item.values() when interacting with the values.
- ๐ [Bugfix]
.add(items, callbak)
withcallback
set does no longer add an extra item. - ๐ [Bugfix]
templater.set()
no longer is called twice in atemplater.get()
call. - ๐ [Bugfix] Fix error when trying to sort
undefined,null,etc
values. - ๐ [Bugfix] Fix error when trying to search
undefined,null,etc
values. - ๐ [Bugfix] Fix issue #51, problems with filters/search + paging.
- [Misc] Almost completely rewritten codebase and started using Component
- [Misc] Moved the website into another repo called list-website
- [Misc] Add documentation for searching in specific columns.
- [Change]
listObj.get('valueName', value)
does now always returns an array. Previously it return an object if only one item matched and null if no match was found. - [Change] The default sort order is now
asc
instead ofdesc
. - [Change] Syntax for searching in specific columns are now
.search('val', [ 'columnName', 'columnName2' ])
instead of.search('val', { columnName: true, columnName2: true })
. - [Change] Move plugins into seperated repos: github.com/javve/list.pagination.js and github.com/javve/list.fuzzysearch.js
- [Change] Plugin initiation have changed. See getting started with plugins