Skip to content

update example to 0.18, add getDirection function#18

Open
krzysu wants to merge 1 commit intoknledg:masterfrom
krzysu:master
Open

update example to 0.18, add getDirection function#18
krzysu wants to merge 1 commit intoknledg:masterfrom
krzysu:master

Conversation

@krzysu
Copy link

@krzysu krzysu commented Jan 21, 2018

Hi,
I updated example to elm 0.18 (#14) and added more useful function (getDirection) for detecting swipes.
I would also suggest removing getDirectionX/Y as they are useless, even when position didn't change, they still return Direction.
Let me know what do you think!
Best

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.

1 participant