Coder Social home page Coder Social logo

angular-pages's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

angular-pages's Issues

Using ng-include for pages does not work

Currently angular-pages expect that all the page elements (li) are there during the compile phase. If the page elements (li) are ng-included, then they will not be properly recognized.

Even moving the logic to the link phase will not work, as it's not guaranteed that by the link phase that ng-include has completed. So the ng-include partial may not be linked yet.

Add ability to update dynamic collections automatically

For dynamic collections using ng-repeat, we need to provide a way to call a user-defined function to update the collection, based on certain conditions such as nearing the edge of the collection.

Currently the user can update the collection outside of angular-pages, and angular-pages will pick up the changes. But the user has no way of knowing when to update the collection.

Add navigation controls or indicator

Currently angular-pages does not show any indicator of what page we are on, or does it provide a way for users to navigate the pages.

We want to add some type of navigation control to the pages so users can simply click to navigate and at the same time be able to see where they are.

font-size: 0 creates problems for content inside pages

Currently we use display: inline-block for laying out pages. However, to remove the small gap between each inline-block we need to use font-size: 0. The problem is that font-size is inherited by all the children below that, which means the user will have to explicitly set font-sizes for all elements inside the pages. This is annoying and should be fixed.

Same value in ng-repeat collection causes skipping

Currently when the ng-repeat collection changes, and the current displayed page is now a different index in the key array, angular-pages tries to find the current page by comparing the value.

But if the collection has two entries that are the same, then for some reason angular-pages skips (probably messes up the index).

Add ability to show multiple pages

Currently angular-pages only shows one page at a time. There are situations where users may want to show more than one page. For example, when they want to show a carousel of photos (flickr-like).

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.