npm's personal messenger
Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

ember-sortable-collection-view

0.0.1 • Public • Published

sortable-collection-view

Provide a SortableCollectionView and SortableCollectionItemView to sort visually a collection of items. The items are not sorted in memory, but only on the screen, which allow very fast sorting.

This is still a WIP, while it is working, it does not yet listen correctly for changes in the given content and its items' properties

Installation

  • npm install --save-dev ember-sortable-collection-view

  • In your template:

    {{view 'ember-sortable-collection-view@sortable-collection'
        content=model
        itemTemplate='some/template'
        sortProperties='name,date'
        sortAscending=false}}

Install

npm i ember-sortable-collection-view

DownloadsWeekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • avatar