Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

Conversation

@scm6079
Copy link

@scm6079 scm6079 commented Apr 30, 2015

This commit adds support for a carouselTap message to be emitted when the carousel has an item tapped (as opposed to dragged) - which allows parents to create controls that perform actions on tap (e.g. opening a full-screen viewer).

Within parent scopes (controller/directive/etc) you can:

     $scope.$on('carouselTap', function(event, target){
        console.log('YOU TAPPED!  The item you tapped is:', target );
     });

Those can use the target passed to determine an appropriate action as necessary.

scm6079 added 2 commits April 30, 2015 15:35
… has an item tapped (as opposed to dragged) - which allows parents to create controls that perform actions on tap (e.g. opening a full-screen viewer).
@revolunet
Copy link
Owner

thanks Scott, can you please also add the information in the README ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants