Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of http://ionicframework.com/docs/api/directive/ionList/ #368

Open
wants to merge 64 commits into
base: master
Choose a base branch
from

Conversation

JoeyAndres
Copy link

I have managed to implement ionList complex features:

  • option buttons
  • showReorder parameter on ionList
  • showDelete parameter on ionList.
  • canSwipe parameter on ionList.
  • canShare parameter on ionList.

This have became my personal project for the past few days, and reading that this place is maintained, didn't bother to create a branch to isoloate my README.md and such. I realized that this might be an important for some people, who can deny an eye candy, thus here it is.

For instance, ionSlideBox inside ionSideMenu. If developer
still wants the propagation, simply pass stopPropagation=false
to ionSlideBox.
@JoeyAndres JoeyAndres changed the title Fix the event propagation when there are nested draggable items. Implementation of http://ionicframework.com/docs/api/directive/ionList/ Jan 25, 2016
at least one of ionOptions or ionDelete or ionReorder children.

- That being said, one can now have ionOptions and swipe to left
  to show them.
- One can now display ionDelete by setting ionItem's
  showDelete=true and giving ionDelete as its children.
- Reorder also works by setting showReorder in ionItem=true
  and ionReorder is given as ionItem's children.

Misc:
- I forked Snap.js and integrated PEP (pointer event polyfill) that
  is supposed to abstract away from mouse and touch event. Making
  the interface much more consistent.
Joey Andres added 5 commits January 30, 2016 22:22
ionScroll can now be used with almost all the ionic 1.2 camelCase version
of paremeters (except events like onScroll/onZooming). To be able to
be fully featured, iscroll would need to be modified heavily.
@JoeyAndres JoeyAndres force-pushed the master branch 14 times, most recently from 6be8fbc to cffe37e Compare February 7, 2016 09:39
Joey Arnold added 16 commits March 5, 2016 00:25
Sidemenu now worked, but still need to be integrated properly,
i.e. exposing openLeft, ...
trying to set a reactivevar by itself.
- Note: slidebox have no controller atm.
- listController now have the pattern for converting angular controller
  to meteor.
  1. For each dependency, make them native or at least Meteor friendly.
  2. If there is a dependncy on dom element, e.g. requires a "el" at
     scope wrap the constractor with init This is because Meteor
     have no concept of "prelink" like angular.
  3. meteor-template-extension now added a scope property for all
     such that the child scope have access to parent scope by
     setting scope.__proto__ of the child.
  4. Pass the scope to the controller at onCreated.
  5. jqlite => $
  6. $scope.$on => $(scope).on
  7. $scope.$watch to tracker.autorun(c => ...
  8. And other stuff....
- ionList is now using original controllers.
of converting angular to native or at least meteor friendly.
Accumulated through last few commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants