Qwerios/spinner-meh-gic
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Spinner-meh-gic by Mark Doeswijk Eagle Eyes Software http://www.qwerios.nl/ 3rd party libs: --------------- Internet Explorer support works thanks to the magic of excanvas (http://code.google.com/p/explorercanvas/) Widget factory class courtesy of jQuery UI (http://jqueryui.com/) Description: ------------ After visiting Full Frontal 2010 (http://2010.full-frontal.org/) I had to get my hands on some of that HTML5 canvas goodness. Every project has an animated gif spinner in there somewhere so I decided to start there. I've implemented this spinner as a jQuery UI widget factory based widget. So the syntax to create an instance of the widget should be familiar to people who have worked with jQuery UI: $( ".myElement" ).spinnerMehGic(); That will create a spinner with the default settings. You can customize the settings to your liking and create many different types of spinners. Check out the blog post on my website for some examples of the different styles. (http://www.qwerios.nl/2010/11/20/my-canvas-experiment-spinner-meh-gic/) After creating the widget you can control the widget with: $( ".myElement" ).spinnerMehGic( "start" ); or $( ".myElement" ).spinnerMehGic( "stop" ); Changing the widget parameters can be done with the setOptions command which takes the same parameters as the widget constructor: $( ".myElement" ).spinnerMehGic( "setOptions", { partSize: 10, gapSize: 20, spread: 360 } ); Check the wiki on github for the full list of options.
About
Canvas based reusable animated spinner
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published