New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-ui-pagination

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-ui-pagination

Ember UI pagination

  • 0.1.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Ember UI Pagination Add-on

Ember Observer Score Build Status

N.B. works only with ember-data < 2.0.0

Demo

Scrolling paginator, supports large static files,

filtering, sorting is coming!

Running Test Application

  • git clone git@github.com:Romanior/ember-ui-pagination.git
  • npm install && bower install
  • ember s
  • Visit your app at http://localhost:4200

Usage as add-on in your application

  • npm install --save-dev ember-ui-pagination
  • ember g ember-ui-pagination
 {{ember-ui-pagination
    store=store
    modelName='item'
    url='https://api.github.com/search/repositories?q=test1234'
    serverPagination=true
    page=1
  }}

Or with static data, CSV or JSON are supported. CSV file will be parsed to JSON, you may support with additional csvHeaders parameters if the .csv file does not have them one the first row.

 {{ember-ui-pagination
    store=store
    modelName='example'
    url='/data.csv'
    csvHeaders='id,method,url,hints,users,views'
  }}
 {{ember-ui-pagination
    store=store
    modelName='example'
    url='/data.json'
  }}

where

  • modelName - the name of the model where add-on loads data.
  • url - URL to the server API, for server pagination it should support page and per_page params
  • page - the page you want to start.
  • csvHeaders - the CSV headers if you need to parse with with them.

You can overwrite templates in your application to adapt your data

  • app/templates/components/ember-ui-pagination.hbs
  • app/templates/components/ember-ui-pagination-item.hbs

Running Tests

  • ember test
  • ember test --server

Keywords

FAQs

Package last updated on 22 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc