- Notifications
You must be signed in to change notification settings - Fork5
imaaronjames/Simple-Android-Ripple
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Framer Studio module for adding touch ripple animations to any layer
- First, download thePointer Module byJordan Dobson.This module is required.
- Download the androidRipple.coffee file.
- Create a new Framer project and add both androidRipple.coffee and Pointer.coffee to your /modules folder.
- Add
Android = require 'androidRipple'
at the top of your document.
Sample Project can be found here
More info about modules for Framer Studio:FramerJS Docs - Modules
You only need one line of code to make Simple Android Ripples work. It looks a little something like this:
layerName.on(Events.Click, Android.Ripple)
Replace layerName with the name of the layer you wish to add a touch ripple to when clicked.
This module can accept any Event to fire the ripple. Click is the most commonly used event, but you can also use any ofthese here.
That's it! the ripple layers will automatically animate in and out for you. When the layers animate out, they will be destroyed for you. Simple.
About
A Framer Studio module for adding Android Material Design Touch Ripples to any layer
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.