Coder Social home page Coder Social logo

ember-pagination's Introduction

Welcome to Ember Pagination!

This is a project that will help developers with paginations of items in ember.


What you need

Ember.js its a framework for creating ambitious web applications (see Ember.js)

PaginationController

Add this controller to your Ember project in order to help with the methods that would handle the actions of next previus etc.

PaginationView

Here you will find the actions of the paginations.

Pagination.js

In this file we extended the CollectionArray in order to added features that will help the pagination.

typeAheadElements.js

Here we added the collection that would be used in the typeahead and also the regular expressions that would be mapped in order to filter the content.

var typeAheadElements = {
    'typeahead-cities': [
        {
            'exp' : /[a-zA-Z ]/,
            'category' : 'City',
            'categoryMap' : 'name',
            'collection' : 'Cities'
        }
    ]
}

It's important to note that the "typeahead-cities" is the label that we use in the "data-provide" of the typeahed.

See the demo for more fun

License

The MIT License (MIT)

ember-pagination's People

Contributors

juanjardim avatar

Stargazers

Sun Feng avatar Edgar Felix avatar  avatar

Watchers

James Cloos avatar  avatar Edgar Felix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.