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

Add slideout events #61

Merged
merged 12 commits into from
Apr 21, 2015
Merged

Add slideout events #61

merged 12 commits into from
Apr 21, 2015

Conversation

pazguille
Copy link
Member

New Features

Now, an instance of Slideout can emit the following events:

  • beforeclose
  • close
  • beforeopen
  • open
  • translate

The Slideout can emit translate event only when it is opening/closing via touch events.

slideout.on('translate', function(translated) {
  console.log(translated); // eg. 120 in px
});

Fixes

  • Remove translate3d when slideout is closed.

@pazguille pazguille added this to the 0.1.7 milestone Apr 15, 2015
impronunciable added a commit that referenced this pull request Apr 21, 2015
@impronunciable impronunciable merged commit 2b61aed into master Apr 21, 2015
@pazguille pazguille deleted the feature-add-slideout-events branch April 22, 2015 12:31
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.

2 participants