跳到主要内容

touying-recall

touying-recall(lbl, subslide: none)(source)

Recall a slide by its label.

Example:

// Recall all subslides
#touying-recall(<my-slide>)

// Recall only a specific subslide
#touying-recall(<my-slide>, subslide: 2)

// Recall only the last (final) subslide
#touying-recall(<my-slide>, subslide: auto)

// Recall the last subslide of every waypoint
#touying-recall(<my-slide>, subslide: "waypoints")

// Recall the subslides covered by a waypoint
#touying-recall(<my-slide>, subslide: <my-waypoint>)

// Recall only the last subslide of a waypoint
#touying-recall(<my-slide>, subslide: get-last(<my-waypoint>))
Parameters

lbl : str | label

The label of the slide to recall.

subslide : none | auto | int | str | label | dictionary    default: none

Which subslide(s) to recall. - none (default): recall all subslides. - auto: recall only the last subslide (the final animation state). - int: recall a specific subslide by number. - "waypoints": recall one subslide per waypoint — specifically, the last subslide of each waypoint. This shows every animation phase at its final state. - label: recall the subslides covered by a waypoint in the original slide. E.g. subslide: <my-waypoint>. - Waypoint marker: get-first(<wp>), get-last(<wp>), prev-wp(<wp>), next-wp(<wp>) — resolves to a single subslide or waypoint range using the recalled slide's waypoint map.

Returns: content