Commit Graph

53 Commits

Author SHA1 Message Date
Andrew
432c7dca02 feat(collectionRepeat): if item-width/item-height not given, compute dimensions 2015-02-24 14:54:44 -07:00
Andrew
88aebad36e fix(collectionRepeat): resize scrollView when data changes
Closes #2523
2015-02-24 14:45:34 -07:00
Andrew
6c8c6753f3 docs(collectionRepeat): remove duplicate description tag 2015-02-24 14:38:55 -07:00
Andrew
4f4df5c4a5 test(collectionRepeat): add more resizing unit tests 2015-02-24 14:37:45 -07:00
Andrew
5c913c3bc5 docs(collectionRepeat): add note about not using one-time binding 2015-02-24 14:31:53 -07:00
Andrew
ac1626ed47 amend(collectionRepeat): only refresh dimensions when repeater has size 2015-02-24 14:28:50 -07:00
Andrew
07b20f4a27 amend(collectionRepeat): refresh dimensions afterEnter instead of reconnect 2015-02-24 14:13:46 -07:00
Andrew
1061ea7d0e amend(collectionRepeat): only refreshDimensions after element has
entered
2015-02-24 14:03:32 -07:00
Andrew
142a22b124 amend(collectionRepeat): refresh dimensions on scope reconnect 2015-02-24 13:59:13 -07:00
Andrew
3befdd7429 amend(collectionRepeat): broadcast event when element changes positions 2015-02-24 13:47:16 -07:00
Andrew
bb866da3d7 refactor(collection-repeat): performance 2015-02-24 13:24:51 -07:00
Andrew
b49444c3bc feat(collectionRepeat): add collection-buffer-size, collection-refresh-images attrs
Closes #1742.
2015-02-10 09:44:11 -07:00
Andrew
9416d7d7fa style(collectionRepeat): fix jshint errors 2015-02-09 12:04:17 -07:00
Andrew
83cc181800 style(collectionRepeat): fix jshint errors 2015-02-09 11:58:51 -07:00
Andrew
b7a0968933 fix(collectionRepeat): properly resize, but only when scrollView size actually changes
Closes #2935. Closes #3054.
2015-02-09 10:57:14 -07:00
Andrew
371007c031 docs(collectionRepeat): remove note about changing your css, we do that for you now 2015-02-06 14:54:02 -07:00
Andrew
4f0598dd47 fix(collectionRepeat): don't rerender on window resize when view is cached
Closes #2677.
2015-02-05 12:54:53 -07:00
Adam Bradley
223d89624d style(): main angular references 2015-02-02 20:49:04 -06:00
perry
7913ee0f28 fix(collectionRepeat): properly display sibling elements after a collection-repeat 2015-01-21 16:00:16 -06:00
perry
838996815c fix(collectionRepeat): Properly calcuate list height and show ion-infinite-scroll. Fixes #2376 2015-01-19 17:24:53 -06:00
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