in partnership with mediatemple

Changeset 1546 for trunk/Docs/Fx/Fx.md

Show
Ignore:
Timestamp:
05/05/08 10:36:32 (1 week ago)
Author:
JanK
Message:
  • Class events should now be used without their on prefix, i.e. addEvent('onChainComplete', fn) becomes addEvent('chainComplete'). If you want to add events in the options you need to prefix them with 'on' now ('foo' -> 'onFoo').

Note: This is not a breaking change.

- other minor optimizations and doc fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Docs/Fx/Fx.md

    r1443 r1546  
    4040### Events: 
    4141 
    42 * onStart               - (*function*) The function to execute when the effect begins. 
    43 * onCancel              - (*function*) The function to execute when you manually stop the effect. 
    44 * onComplete            - (*function*) The function to execute after the effect has processed. 
    45 * onChainComplete       - (*function*) The function to execute when using link 'chain' ([see options](#Fx:constructor)). It gets called after all effects in the chain have completed. 
     42* start                 - (*function*) The function to execute when the effect begins. 
     43* cancel                - (*function*) The function to execute when you manually stop the effect. 
     44* complete              - (*function*) The function to execute after the effect has processed. 
     45* chainComplete - (*function*) The function to execute when using link 'chain' ([see options](#Fx:constructor)). It gets called after all effects in the chain have completed. 
    4646 
    4747### Notes: 
     
    5959---------------------------- 
    6060 
    61 The start method is used to begin a transition.  Fires the onStart event. 
     61The start method is used to begin a transition.  Fires the 'start' event. 
    6262 
    6363### Syntax: 
     
    111111------------------------------ 
    112112 
    113 The cancel method is used to cancel a running transition.  Fires the onCancel event. 
     113The cancel method is used to cancel a running transition.  Fires the 'cancel' event. 
    114114 
    115115### Syntax: