SelectoComponents.Keyboard.Shortcuts (selecto_components v0.4.8)

Normalizes Selecto root keyboard shortcut configuration and help metadata.

Link to this section Summary

Functions

Extracts stable view ids from the configured view list.

Returns the default keyboard shortcut config.

Returns the active keymap as %{"action_id" => ["key sequence"]}.

Normalizes assign/config values accepted by the root Selecto form.

Returns grouped shortcut metadata for the help surface.

Link to this section Functions

Link to this function

available_view_ids(views)

Extracts stable view ids from the configured view list.

Link to this function

default_config()

Returns the default keyboard shortcut config.

Link to this function

keymap(config, opts \\ [])

Returns the active keymap as %{"action_id" => ["key sequence"]}.

Link to this function

normalize(value \\ true)

Normalizes assign/config values accepted by the root Selecto form.

Link to this function

sequence_timeout_ms(arg1)

Link to this function

shortcut_groups(config, opts \\ [])

Returns grouped shortcut metadata for the help surface.

Link to this function

show_hints?(arg1)