Class: KeySequenceNavigationHandler
component.KeySequenceNavigationHandler
The KeySequenceNavigationHandler
allows the user to navigate through a sequence using the
following key commands:
ALT
+ Up Arrow
: Navigate to next image in the sequence.
ALT
+ Down Arrow
: Navigate to previous image in sequence.
example
var keyboardComponent = viewer.getComponent("keyboard");
keyboardComponent.keySequenceNavigation.disable();keyboardComponent.keySequenceNavigation.enable();
var isEnabled = keyboardComponent.keySequenceNavigation.isEnabled;
#
HierarchyHandlerBase
<KeyboardConfiguration
>↳
KeySequenceNavigationHandler
#
Accessors#
isEnabled• get
isEnabled(): boolean
Returns a Boolean indicating whether the interaction is enabled.
#
Returnsboolean
true
if the interaction is enabled.
#
Defined incomponent/util/HandlerBase.ts:31
#
Methods#
disableâ–¸ disable(): void
Disables the interaction.
example
<component-name>.<handler-name>.disable();
#
Returnsvoid
#
Inherited fromHandlerBase.disable
#
Defined incomponent/util/HandlerBase.ts:60
#
enableâ–¸ enable(): void
Enables the interaction.
example
<component-name>.<handler-name>.enable();
#
Returnsvoid
#
Inherited fromHandlerBase.enable