Skip to main content

past-progressive-faded

past-progressive-faded(time, it, alpha: (linear: 30%))(source)

Fades already revealed items with a progressive fade. You may pass it an optional alpha dict. Possible keys are linear and exponential for linear and exponential fading, respectively. The value is the fading speed. Default is (linear: 30%).

Parameters

time : int

The relative subslide index passed by item-by-item-fn.

it : content

The item passed by item-by-item-fn.

alpha : dictionary    default: (linear: 30%)

The fade speed and type, higher means faster fading. Either (linear: <value>) or (exponential: <value>). Default is (linear: 30%).

Returns: content