Noora.ShortcutKey (noora v0.3.1)

Renders a keyboard shortcut key element with customizable size.

Example

<.shortcut_key size="large"></.shortcut_key>
<.shortcut_key>K</.shortcut_key>

Summary

Functions

shortcut_key(assigns)

Attributes

  • size (:string) - Size of the shortcut key. Defaults to "large". Must be one of "small", or "large".

Slots

  • inner_block