End Modifier Command
Stops running the modifier command given by the command id. This has a similar effect as letting go of the hotkey associated with that command after holding it.
Syntax
store.dispatch({ type: "END_MODIFIER_COMMAND", payload: command, meta: { ignorable: true } });
Parameters
command
Modifier command to stop executing. This will stop any modifiers currently active by BEGIN_MODIFIER_COMMAND
or by user input until they are activated again. A full list of available command ids and their default hotkeys can be found here.
Examples
Stops the fast-forward playback hotkey modifier.
store.dispatch({
type: "END_MODIFIER_COMMAND",
payload: "modifiers.fastForward",
meta: { ignorable: true }
});