zhenjl / angular-pages Goto Github PK
View Code? Open in Web Editor NEWAngular directive for managing the layout and transition of pages.
Home Page: http://zhenjl.github.io/angular-pages
License: MIT License
Angular directive for managing the layout and transition of pages.
Home Page: http://zhenjl.github.io/angular-pages
License: MIT License
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.
Currently when the browser window resizes, angular-pages does not update. Need to handle that.
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.
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.
Currently the rows/cols move independently. zn-pages-lockstep would make them move together.
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.
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).
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.