Skip to main content

Interface: SequenceConfiguration

component.SequenceConfiguration

Interface for configuration of sequence component.

interface

example

const viewer = new Viewer({    ...    component: {        sequence: {            minWidth: 40,            maxWidth: 80,            visible: false,        },    },    ...});

Hierarchy#

  • ComponentConfiguration

    ↳ SequenceConfiguration

Properties#

direction#

• Optional direction: NavigationDirection

Set the direction to follow when playing.

default EdgeDirection.Next

Defined in#

component/interfaces/SequenceConfiguration.ts:29


maxWidth#

• Optional maxWidth: number

The max width of the sequence container.

description Set max width of the container element holding the sequence navigation elements. If the min width is larger than the max width the min width value will be used.

The container element is automatically resized when the resize method on the Viewer class is called.

default 117

Defined in#

component/interfaces/SequenceConfiguration.ts:56


minWidth#

• Optional minWidth: number

The min width of the sequence container.

description Set min width of the container element holding the sequence navigation elements. If the min width is larger than the max width the min width value will be used.

The container element is automatically resized when the resize method on the Viewer class is called.

default 70

Defined in#

component/interfaces/SequenceConfiguration.ts:70


playing#

• Optional playing: boolean

Indicating whether the component is playing.

default false

Defined in#

component/interfaces/SequenceConfiguration.ts:77


visible#

• Optional visible: boolean

Determine whether the sequence UI elements should be visible.

default true

Defined in#

component/interfaces/SequenceConfiguration.ts:85