5 ms·
I still wish you exposed a DOM fragment as an option instead of HTML strings.
by bdg 15y ago
I still wish you exposed a DOM fragment as an option instead of HTML strings.
- bobspryn 15y agoI'd like that too. Would like to be able to sort on something stuck in a data attribute. https://github.com/javve/list/issues/35 https://github.com/javve/list/issues/35 I might take a crack at a patch if no one else does.
- Javve 15y agoWith the new plugins-functionality you could create your own special sorter that uses data attributes too. Then you would call it with listObj.yourSortersName(something). And you can still use the regular sort function which since this version is a included in the helper object :)
- Javve 15y agoFix'd! :) https://github.com/javve/list/commit/ec2a490142997a17646dd74557ac0d0871840814 https://github.com/javve/list/commit/ec2a490142997a17646dd74...