p

react

hotkeys

package hotkeys

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. hotkeys
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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
  2. type Handler = (japgolly.scalajs.react.ReactKeyboardEvent) => Callback
  3. type Handlers = Map[String, Handler]
  4. implicit class HandlersOps extends AnyRef
  5. 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
  6. 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
  7. 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
  8. trait KeyEvent extends Object
    Annotations
    @JSType() @native()
  9. sealed abstract class KeyInstance extends AnyRef
  10. type KeyMap = Map[String, KeySpec]
  11. implicit class KeyMapOps extends AnyRef
  12. type KeySeq = |[String, KeyEvent]
  13. trait KeySequence extends Object with KeyEvent
    Annotations
    @JSType() @native()
  14. type KeySpec = |[|[KeySeq, Array[String]], KeySequence]
  15. sealed abstract class LogLevel extends AnyRef
  16. 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
  17. implicit class StringKeyEventOps extends AnyRef

Value Members

  1. implicit def callbackToHandler(cb: Callback): Handler
  2. implicit def seqToKeySpec(seq: Seq[String]): KeySpec
  3. object GlobalHotKeys extends Serializable
  4. object Handlers
  5. object HotKeys extends Serializable
  6. object HotKeysConfigure
  7. object IgnoreKeys extends Serializable
  8. case object KeyDown extends KeyInstance with Product with Serializable
  9. object KeyEvent
  10. object KeyMap
  11. case object KeyPress extends KeyInstance with Product with Serializable
  12. object KeySequence
  13. case object KeyUp extends KeyInstance with Product with Serializable
  14. object LogLevel
  15. object ObserveKeys extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped