Skip to content

vesper2000/ember-frost-sort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Coveralls NPM

ember-frost-sort

the drop-down select widget to rule them all

Installation

ember install ember-frost-sort

API

Attribute Type Value Description
sortableProperties array [{"label: "foo", "value": "bar"}] Array of sortable attributes.
sortParams array [{"direction: "asc/desc", "value": <attr-name>}] Array that specifies the sort order.
on-change string <action-name> The action to call when the value of the select item changes.

Examples

{{frost-sort sortableProperties=sortAttributes on-change=(action 'sort') sortParams=sortOrder}}

Development

Setup

git clone git@github.com:ciena-frost/ember-frost-sort.git
cd ember-frost-sort
npm install && bower install

Development Server

A dummy application for development is available under ember-frost-sort/tests/dummy. To run the server run ember server (or npm start) from the root of the repository and visit the app at http://localhost:4200.

Testing

Run npm test from the root of the project to run linting checks as well as execute the test suite and output code coverage.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.1%
  • HTML 17.9%
  • CSS 4.5%
  • Shell 4.5%