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

Handle maybe (swipe up - optional) #70

Merged
merged 7 commits into from Mar 11, 2017

Conversation

esganzerla
Copy link
Contributor

It adds a function to swipe up the card and dispatch the prop function handleMaybe. To include this feature it is necessary to declare the prop/flag hasMaybeAction.

Note: The proper way to show the Maybe flag when swipping up would be to make an interpolation using pan.x and pan.y, I couldn't find the way to do it, so I make a hack showing and hiding using the opacity and scaling. Would love to see a better solution for that.

@esganzerla esganzerla changed the title Handle maybe Handle maybe (swipe up - optional) Mar 10, 2017
@vitorebatista
Copy link
Collaborator

Great!
Could you update the README.md?

Thanks!

@esganzerla
Copy link
Contributor Author

Of course. Will do it by tomorrow!

Include props for handling maybeAction and some default values that weren't shown.
@esganzerla
Copy link
Contributor Author

I included an updated gif, the code on the first example and the props on the table.

I guess that's it, right?

@vitorebatista vitorebatista merged commit 17a0c33 into meteor-factory:master Mar 11, 2017
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.

None yet

2 participants