Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-table-pagination

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-table-pagination

An ember addon to add pagination to tables

  • 0.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

ember-cli-table-pagination

makes it easy to build remote backed tables w/ ember-cli-pagination and bootstrap

This README outlines the details of collaborating on this Ember addon.

Usage

table-pagination

Properties

TODO

Events

TODO

Replaceable components

Here is a list of the replaceable components and their respective defaults

  • titleComponent (table-pagination.table-title): Display the table title if specified
    • should be a component with a body. The body will be replaced by the title.
  • bodyComponent (table-pagination.table-body): wrap up the table body
    • no parameters, will wrap all the component's HTML except the title
  • toolbarComponent (table-pagination.table-toolbar): wrap up the toolbar
    • no parameters, its body will host the quick-search, item/page selector as well as the page selector
  • toolsComponent (table-pagination.table-tools): receive the following parameters:
    • allowQuickSearch(boolean): either or not the quick-search should be enabled
    • searchString(string): two-way binding to the quick-search value
    • perPage(integer): two-way binding to the item/page value
    • refresh(action): action passed on to the refresh action of table-pagination The toolsComponent should display these values and offer the user a way to manipulate searchString and perPage
  • pagerComponent (table-pagination.table-pager): should display the current page number and allow the user to change page
    • count(integer): total amount of pages
    • current(integer): current page number (1-indexed)
    • changePage(action): action passed on the changePage action of the component if the pagination is remotely handled else the component will deal with the page change by itself.
  • contentComponent (table-pagination.table-content):

Note: to allow for more flexibility when overriding the component, a special parameter will be passed to each of the overridable sub-components that can be used to pass arbitrary parameters from the main component to any of its sub-components. These parameters are called: titleParams, bodyParams, toolbarParams, toolsParams, pagerParams & contentParams.

bs-table-pagination

Installation

  • git clone this repository
  • npm install

Running

  • ember server
  • Visit your app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Keywords

FAQs

Package last updated on 15 Feb 2018

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