package hotkeys
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- hotkeys
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class GlobalHotKeys(keyMap: UndefOr[KeyMap] = js.undefined, handlers: UndefOr[Handlers] = js.undefined, allowChanges: UndefOr[Boolean] = js.undefined, children: ChildrenArgs = Seq.empty) extends GenericComponentPC[GlobalHotKeysProps, GlobalHotKeys] with Product with Serializable
- type Handler = (japgolly.scalajs.react.ReactKeyboardEvent) => Callback
- type Handlers = Map[String, Handler]
- implicit class HandlersOps extends AnyRef
- final case class HotKeys(keyMap: UndefOr[KeyMap] = js.undefined, handlers: UndefOr[Handlers] = js.undefined, component: UndefOr[HtmlTagOf[_]] = js.undefined, tabIndex: UndefOr[Int] = js.undefined, allowChanges: UndefOr[Boolean] = js.undefined, innerRef: UndefOr[Handle[_]] = js.undefined, root: UndefOr[Boolean] = js.undefined, children: ChildrenArgs = Seq.empty) extends GenericComponentPC[HotKeysProps, HotKeys] with Product with Serializable
- final case class HotKeysConfiguration(logLevel: UndefOr[LogLevel] = js.undefined, defaultKeyEvent: UndefOr[KeyInstance] = js.undefined, defaultComponent: UndefOr[HtmlTagOf[_]] = js.undefined, defaultTabIndex: UndefOr[Int] = js.undefined, ignoreTags: UndefOr[Seq[HtmlTagOf[_]]] = js.undefined, ignoreEventsCondition: UndefOr[(japgolly.scalajs.react.ReactKeyboardEvent) => Boolean] = js.undefined, ignoreKeymapAndHandlerChangesByDefault: UndefOr[Boolean] = js.undefined, ignoreRepeatedEventsWhenKeyHeldDown: UndefOr[Boolean] = js.undefined, simulateMissingKeyPressEvents: UndefOr[Boolean] = js.undefined, stopEventPropagationAfterHandling: UndefOr[Boolean] = js.undefined, stopEventPropagationAfterIgnoring: UndefOr[Boolean] = js.undefined, allowCombinationSubmatches: UndefOr[Boolean] = js.undefined, customKeyCodes: UndefOr[Map[String, String]] = js.undefined) extends Product with Serializable
- final case class IgnoreKeys(only: UndefOr[|[String, Array[String]]] = js.undefined, except: UndefOr[|[String, Array[String]]] = js.undefined, children: ChildrenArgs = Seq.empty) extends GenericComponentPC[IgnoreKeysProps, IgnoreKeys] with Product with Serializable
- trait KeyEvent extends Object
- Annotations
- @JSType() @native()
- sealed abstract class KeyInstance extends AnyRef
- type KeyMap = Map[String, KeySpec]
- implicit class KeyMapOps extends AnyRef
- type KeySeq = |[String, KeyEvent]
- trait KeySequence extends Object with KeyEvent
- Annotations
- @JSType() @native()
- type KeySpec = |[|[KeySeq, Array[String]], KeySequence]
- sealed abstract class LogLevel extends AnyRef
- final case class ObserveKeys(only: UndefOr[|[String, Array[String]]] = js.undefined, except: UndefOr[|[String, Array[String]]] = js.undefined, children: ChildrenArgs = Seq.empty) extends GenericComponentPC[ObserveKeysProps, ObserveKeys] with Product with Serializable
- implicit class StringKeyEventOps extends AnyRef
Value Members
- implicit def callbackToHandler(cb: Callback): Handler
- implicit def seqToKeySpec(seq: Seq[String]): KeySpec
- object GlobalHotKeys extends Serializable
- object Handlers
- object HotKeys extends Serializable
- object HotKeysConfigure
- object IgnoreKeys extends Serializable
- case object KeyDown extends KeyInstance with Product with Serializable
- object KeyEvent
- object KeyMap
- case object KeyPress extends KeyInstance with Product with Serializable
- object KeySequence
- case object KeyUp extends KeyInstance with Product with Serializable
- object LogLevel
- object ObserveKeys extends Serializable