Skip to main content

item-by-item-fn

item-by-item-fn(self: none, start: 1, fn, cont)(source)

Display list, enum, or terms items one by one with animation and styling. For more details see utils.item-by-item.

Parameters

start : int | label | str | dictionary    default: 1

The starting subslide number or waypoint.

fn : function

A function that gets (idx, it) and returns the styled item content for the item at the relative index idx (may be negative if it was revealed already)

cont : content

The content containing the items to display.

Returns: content