item-by-item-fn
item-by-item-fn(start: auto, fn, cont)(source)Display list, enum, or terms items one by one with animation and styling.
For basic details, see #item-by-item, this is a more customizable version that accepts a styling function to style each item depending on whether it's being revealed, already revealed, or still hidden.
start : auto | int | label | dictionary default: auto
The subslide on which the first item appears. auto (default) makes it relative to the current pause position. An integer gives an absolute subslide number. A label or waypoint marker resolves to the waypoint's first subslide.
fn : function | str
A styling function that styles each list element. It receives (time (int), it) where time is the relative subslide index, i.e. it may be negative, 0 or positive depending on whether the item was revealed, is being revealed or will be revealed in the future. If none, this defaults to the normal item-by-item behavior of simply revealing items without additional styling. Note that this does not interfere with the normal cover mechanism. \ We support several presets for this: "current-bold", "current-highlight", "past-faded", "past-progressive-faded" available either by passing in these strings or in the dictionary item-by-item-functions. The latter let's you customize the presets.
cont : content
The content containing a list, enum, or terms element.
Returns: content