This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Min-Sang Choi
Posted Feb 21 - Read on Facebook

Hi guys.

I decided to make carousel with framer for teaching myself this tool. and here's what I made since. hope you enjoy. :-)

22 Comments

Koen Bok

Very good. One thing to get it closer to the ios one is to use layer.draggable.calculateVelocity() to determine to which image it needs to snap.

Min-Sang Choi

Koen Bok Thanks! I didn't know that. need to dig docs more. :-) Gonna refine my code!

Min-Sang Choi

Koen Bok wow rubberband is great. will go through all that. Thanks!

Michel Heiji Ichiy

did you record your screen with camcorder?

Min-Sang Choi

Michel Heiji Ichiy haha no, I used quicktime. the tool can record your screen.

Michel Heiji Ichiy

Did not know that! hahaha thanks man!

Rob Jones

Nice! Can you put your code on CodePen?

Min-Sang Choi

Rob Jones sure. I need to clean my code first. I'll share when it's ready. :-)

Samwoo E

Awesome stuff!

Min-Sang Choi

Samwoo Ee Thanks man!

Rob Jones

Koen Bok If you update your Carousel code, it would be helpful to provide access to pure javascript or uncompiled coffeescript code

Min-Sang Choi

promised and delivered. http://codepen.io/radiofun/pen/sIdfH cleaned up the dirt but it still needs to be improved. gonna update soon.

David Lee

Koen Bok Could you share the source codes as well? :)

David Lee

Koen Bok Oh I figured out how to get it. Thanks a million!

David Lee

Benjamin Den Boer When I paste the code in Framer Studio, I get this error. Why?

Koen Bok

It's old code. You can just do: draggable = @contentView.draggable

David Lee

It seems like I have to change the whole code to the new grammar.

Ash Baker

how do you do to make so that when you drag a layer, the next one comes in place and stays there

Fran Pérez

Hi guys, another way to achieve the same effect: :)

http://share.framerjs.com/d63w0vwa4h3y/

Ash Baker

thanks! awesome

Min-Sang Choi

It's a half year old example. Please let it sleep ;-)

Read the entire post on Facebook