Commit Graph

33 Commits

Author SHA1 Message Date
Andrew
a49e577db8 fix(collectionRepeat): parse collection-item-height/width to int
Closes #2633.
2014-12-01 10:58:44 -07:00
Adam Bradley
3ddaf34722 fix(collectionRepeat): rerender after resize/enter
Previously on every `beforeEnter`, collection-repeats within a
ion-nav-view would rerender. However, this is only necessary when the
window resizes. The rerender already works when the collection-repeat
is within the active view because the scroll view has accurate
dimensions. But when the collection-repeat is within a cached view it
does not have dimensions, causing the rerender to incorrectly place its
items. This update will only rerender the collection-repeat if there
was a window resize, and the scroll view which the collection-repeat
was in, did not have dimensions at the time of the resize. If/when the
view becomes the active view again, the collection-repeat will rerender
on `afterEnter` when the scroll view has accurate dimensions.
2014-11-30 01:01:56 -06:00
Andrew
ba78a016b1 amend(collectionRepeat): remove accidental revert 2014-11-26 09:33:23 -07:00
Andrew
c1f4cbd773 fix(collectionRepeat): fix error when switching back to collection-repeat after resizing 2014-11-25 11:12:11 -07:00
Andrew
b9829e755a refactor(navView): expose self.scope as navView $scope 2014-11-25 11:06:31 -07:00
Sabrina
307636b833 fix typo for <ion-content> close tag 2014-10-09 18:07:54 +08:00
Andrew
977f681818 fix(collectionRepeat): with ngHref, make href attr erase if falsy
Fixes #1674
2014-08-11 10:29:32 -04:00
Andrew
5e025fbb01 fix(collectionRepeat): rerender when $ionicScrollDelegate resizes
Fixes #1777
2014-08-11 10:23:49 -04:00
Andrew
9bfa3bd18b fix(collectionRepeat): ignore spacing of hidden elements (ion-refresher)
Closes #1970
2014-08-11 10:06:31 -04:00
Andrew
7ddb57e60b feat(collectionRepeat): other children of ion-content element fit in
Closes #1920. Closes #1866. Closes #1380.
2014-08-06 10:32:40 -06:00
Perry Govier
4f6d02cfcb refactor(modal): trigger resize event on the window when modal opens
A better approach to resolving an issue with collection-repeat sizing itself properly. This keeps directives independent of eachother.
2014-07-24 14:45:40 -05:00
Perry Govier
1fbd3c5632 fix(collectionRepeat): properly display collection repeat inside a modal 2014-07-24 12:44:29 -05:00
Andrew
208ef13d54 fix(collectionRepeat): patch ngSrc/ngHref to fix a bug with falsy values
Fixes #1674
2014-07-08 15:27:41 -06:00
Andrew
d5d38bb081 refactor(collectionRepeat): add a require-able controller to the directive 2014-07-07 11:48:44 -06:00
Perry Govier
1b51231e8f docs(collectionRepeat): Noting that the dimensions must be known ahead of item creation. Closes #1707 2014-07-01 10:12:57 -05:00
Andrew Joslin
8476f0cb3a docs(collectionRepeat): update docs for optimizations 2014-06-11 15:34:11 -06:00
Andrew Joslin
6af5d68da4 feat(collectionRepeat): huge optimization upgrades
Closes #1597
2014-06-10 17:56:35 -06:00
Perry Govier
4a4eb03011 Merge branch 'refs/heads/patch-1' 2014-05-28 10:35:13 -05:00
Scott
71c3577bd9 docs(collection-repeat): clarify css requirements 2014-05-28 10:32:08 -05:00
Andrew Joslin
75e30003a8 chore(): move demos out of source files 2014-05-27 11:21:08 -06:00
Andrew Joslin
8e47506c51 demo(collectionRepeat): add demo 2014-05-20 06:12:23 -06:00
Andrew Joslin
8759f64f61 docs(collectionRepeat): add note about ng-show/ng-hide 2014-05-08 07:40:13 -06:00
Andrew Joslin
b785955348 chore(): factor out some angular functions to variables 2014-05-07 14:54:51 -06:00
Andy Joslin
e6e1896629 test(collectionRepeat): finish unit tests 2014-05-05 10:31:09 -06:00
Andy Joslin
94bcbf753b fix(collectionRepeat): allow angular expressions properly 2014-04-29 06:37:34 -06:00
Andy Joslin
0af7f6d916 docs(collectionRepeat): add demo 2014-04-28 11:02:04 -06:00
Andy Joslin
742690c181 docs(collectionRepeat): add documentation 2014-04-28 10:58:15 -06:00
Andy Joslin
f0a1c03759 feat(collection-repeat): add repeat lsdirective for huge lists 2014-04-28 08:16:29 -06:00
Andy Joslin
38cda8f93b test($collectionDataSource): add unit tests 2014-04-25 10:43:31 -06:00
Andy Joslin
08b330e8be collectionRepeat: rerender on resize 2014-04-24 08:59:20 -06:00
Andy Joslin
b9fd76b35b collectionRepeat: fixes 2014-04-24 08:56:25 -06:00
Andy Joslin
e5e5b911f7 collection-repeat: enable grid functionality 2014-04-24 07:32:31 -06:00
Andy Joslin
934158baf5 virtualScroll: non-full-featured version, to start testing 2014-04-23 17:52:51 -06:00