State-based Previous/Next Link

State-Based Previous/Next Link Inspector

Purpose

Create links to previous or next value of a State.

Description

A state-based previous/next link provides a way to automatically link to consecutive state values. The link updates automatically if you make changes to the State’s values. It is commonly used to create forward and back buttons for a carousel or slideshow.

Properties

You configure the component by attaching a state, and specifying text and whether the link goes forward to the next value, or backward to the previous value.

Name Description
Attached State Select an existing state or create a new state.
Text A state-based link can update its text automatically based on the values of the attached state. You can choose to display the name of the current value or the name of the value that will be set when the link is clicked (the “next” value).

Enter custom text by choosing “Custom…” A new Custom Text setting will appear below the Text setting.

You can also choose not to display any text. This can be useful for creating an image map.

Custom Text * Custom text for the link.
Direction Whether the link goes backward to the previous value or forward to the next value, as shown in the state’s list of values.
Wrap-Around This setting only applies when there is no next (or previous) value. When to Yes, the link “wraps around” to the beginning (or end). When set to No, the link is simply disabled.

* This field is only available when you select “Custom…” for the Text setting.