TO DO - Uize.Fade.xFactory
This is a TO DO document for the Uize.Fade.xFactory
module.
ability to chain fades |
1. - for Uize.Fade.fadeProperty, and Uize.Fade.fadeProperties, have a way to specify values that are to be relative to current value
1.1. eg.
Uize.Fade.fadeProperty (slider,'value',null,['+',10]) Uize.Fade.fadeProperty (slider,'value',null,['+',10]) Uize.Fade.fadeProperty (slider,'value',null,['+',incAmount]) Uize.Fade.fadeProperty (slider,'value',null,['-',10]) Uize.Fade.fadeProperty (slider,'value',null,['%',110]) Uize.Fade.fadeProperty (slider,'value',null,['*',1.1]) Uize.Fade.fadeProperty (slider,'value',null,['=',110]) Uize.Fade.fadeProperty (slider,'value',null,['=',function (value) {return value * 1.1}])
for performance optimization, consider reusing spent fades rather than throwing them away for garbage collection |