Skip to content
Petr Vostřel edited this page Mar 16, 2012 · 11 revisions

Options

When calling .reel() method you have plenty of options (far too many) available. You collect them into one hash and supply them with your call.

Example: For a non-looping Reel with 12 frames:

.reel({
  frames: 12,
  looping: false
})

All options are optional and if not specified, a default value is used instead. Defaults are being housed as members of $.reel.def hash. If you customize any default value therein, all subsequent .reel() calls will use the new value as default.

F.e.: Change default initial frame to 5th:

$.reel.def.frame = 5

By Category

  • Basic - frame, frames, loops, step and steps
  • Interaction - clickfree, cw, draggable, revolution, scrollable, steppable, throwable and wheelable
  • Operation - directional, inversed, orbital, row, rows, stitched and vertical
  • Animation - brake, delay, entry, opening, rebound,speed, velocity, tempo and timeout
  • Sprite - footage, horizontal, image, spacing and suffix
  • Sequences - images, path and sequence
  • Customization - area, attr, cursor, hint, indicator, klass and preloader
  • Advanced - annotations, graph, laziness, monitor and preload

Index

annotations area brake attr clickfree cursor cw delay directional draggable footage entry frame frames graph hint horizontal image images indicator inversed klass laziness loops monitor opening orbital path preload preloader rebound revolution row rows scrollable sequence spacing speed step steppable steps stitched suffix tempo timeout throwable velocity vertical wheelable

Those highlighted in bold are new options in 1.2, those in italics are deprecated. Learn more about current Deprecations.

Clone this wiki locally