Skip to content

ServusJon/Spinner-for-FramerJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spinner Module For Your Framerjs Prototypes

I built this spinner module so you can easily integrate it in your prototypes: See it in Action

Spinner

This spinner is inspired by the spinner from Skype. Thank you Travis Kirton for sharing this tutorial

Setup

  1. Download the spinner.coffee file
  2. Create or open a framer project and drop spinner.coffee inside the /modules folder
  3. Add `{spinnerView} = require 'spinner' at the top of your document (case-sensitive).

Add Spinner

spinner = new spinnerView

Start Spinner

spinner.start()

Stop / Hide Spinner

spinner.stop()

Optional Properties

You can also customize the spinner and its background with following properties:

property Description
dotSize The size of each dot in the animation (default: 40)
dotColor The color of the dots (default: "#fff")
loaderHeight Size of the spin animation
hasBackgroundColor Backdrop color of the animation. If not set there is no backgroundcolor (default: "")
backgroundOpacity Backdrop opacity (default: 1)
spinner = new spinnerView
	dotSize: 200
	dotColor: "#ccc"
	loaderHeight: 300
	hasBackgroundColor: "#641EFE"
	backgroundOpacity: 0.5

About

Spinner module for Framerjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published