FrappeUIPhx.Components.KeyboardShortcutsDialog (frappe_ui_phx v0.3.1)

Copy Markdown View Source

Diálogo com a lista de atalhos: shortcuts={[%{label: "Buscar", keys: ["Ctrl", "K"]}]}.

Summary

Functions

keyboard_shortcuts_dialog(assigns)

Attributes

  • id (:string) (required)
  • open (:boolean) - Defaults to false.
  • title (:string) - Defaults to nil.
  • shortcuts (:list) (required) - lista de %{label: String, keys: [String]}.
  • on_close (:string) - Defaults to nil.
  • Global attributes are accepted.