Daniel Malkafly
this is rly cool!!
"Wheel" like carousel selector
Morph carousel is an ionic plugin that allows you to add carousel to your application.
Plugin has two pre-installed themes: black and white.
Github: https://github.com/artemdemo/morphing-carousel-ionic
1) Add data to your controller
$scope.items = [
{ number: 1 },
{ number: 2 },
{ number: 3 },
{ number: 4 },
{ number: 5 },
{ number: 6 },
{ number: 7 },
{ number: 8 },
{ number: 9 },
{ number: 10 },
{ number: 11 },
{ number: 12 },
{ number: 13 },
{ number: 14 },
{ number: 15 }
];
$scope.selectedItem = $scope.items[2];
2) Add directive
<morph-carousel data-items="items" on-selected="selectedItem" identifier="modal-carousel" show-value="number"></morph-carousel>
In case you're using carousel in modal you will need to update it after opening modal. Use 'identifier' attribute in order to access relevant carousel.
You can update it by using helper factory $morphCarousel. Just inject it into controller and use update() method.
$scope.openModal = function() {
$scope.modal.show();
$morphCarousel.update('modal-carousel');
};
Hey there! You'll need to log in before you can leave a comment here.
this is rly cool!!
This is lovely. Please make it horizontal and 3 sliders instead of one and we are best friends for ever
Sorry i meant to say make it vertical
Great plugin..!!, I have a question: How I can know if the Carousel changed his value?, Like the "on-slide-changed" from an "ion-slide-box", thanks in advance
Awesome plugin, really like it. Only thing, it doesn't appear to be working within modals??
Hi, very cool, but if items.length = 7 doesn´t seem to get the selectedItem of second and third item
Hi there, I used this plugin in my ionic mobile app but its not working on android versions below Kitkat.
how to add this plugin to ionic project ?
Hello its good plugin but i am facing problem how to stop infinite scroll when item is stop i want to stop scrolling.
Vertical version would be very useful!
how to install this plugin in my project please
The carousel is getting refreshed when we use $scope.$watch. Eg. When I apply watch on an element, and on dragging the carousel it is getting refreshed. Is it possible to prevent this behavior?
if you set the view's cache to false, may cause the width of items become 0.
When selectedItem is changed, $watch does not operate. $scope.$watch('selectedItem', function () { //to do my action }, true); Did I do wrong?
should have a vertical attr! is need to use on the string or something...
should have a vertical attr! is need to use on the string or something...
When selectedItem is changed, $watch does not operate. $scope.$watch('selectedItem', function () { //to do my action }, true); Did I do wrong?
if you set the view's cache to false, may cause the width of items become 0.
The carousel is getting refreshed when we use $scope.$watch. Eg. When I apply watch on an element, and on dragging the carousel it is getting refreshed. Is it possible to prevent this behavior?
how to install this plugin in my project please
Vertical version would be very useful!
Hello its good plugin but i am facing problem how to stop infinite scroll when item is stop i want to stop scrolling.
This is lovely. Please make it horizontal and 3 sliders instead of one and we are best friends for ever
Hi there, I used this plugin in my ionic mobile app but its not working on android versions below Kitkat.
Hi, very cool, but if items.length = 7 doesn´t seem to get the selectedItem of second and third item
Awesome plugin, really like it. Only thing, it doesn't appear to be working within modals??
Great plugin..!!, I have a question: How I can know if the Carousel changed his value?, Like the "on-slide-changed" from an "ion-slide-box", thanks in advance
Sorry i meant to say make it vertical
this is rly cool!!
how to add this plugin to ionic project ?
Hey there! You'll need to log in before you can leave a rating here.
amazing job. It would be perfect that could be vertical!!
I find it very useful, easy to implement and excellent support from the developer :D
Very usefull plugin thanks Artem!
thanks, it's really useful and elegant
{{ rating.comment }}
{{ rating.comment }}
thanks, it's really useful and elegant
Very usefull plugin thanks Artem!
I find it very useful, easy to implement and excellent support from the developer :D
amazing job. It would be perfect that could be vertical!!