My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
BeforeAndAfterHooks  
Hooks for various stages of the Pinwheel process.
Updated Mar 3, 2008 by dan.dor...@gmail.com

Introduction

Pinwheel attempts to be as accommodating as possible. To that end, it provides hooks into its behavior at various places:

Most of them correspond to points in the opening and closing of the Pinwheel:

  • beforeOpen
  • afterOpen
  • beforeClose
  • afterClose
  • selected

Details

Each of the hooks is a Pinwheel option that accepts a function or an array of functions. All of them except selected map the Pinwheel object to this; selected instead maps the choice element which has just been chosen to this.

Powered by Google Project Hosting