Package

japgolly.scalajs

react

Permalink

package react

Linear Supertypes
ReactEventTypes, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. react
  2. ReactEventTypes
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type BackendScope[P, S] = MountedWithRoot[CallbackTo, P, S, P, S]

    Permalink
  2. type Callback = CallbackTo[Unit]

    Permalink
  3. final class CallbackOption[A] extends AnyVal

    Permalink

    Callback that can short-circuit along the way when conditions you specify, aren't met.

    Callback that can short-circuit along the way when conditions you specify, aren't met.

    Especially useful for event handlers such as key handlers, drag-and-drop handlers, etc, where you check a condition, perform an effect, check another condition, perform another effect, etc.

    This is meant to be lightweight, and be immediately useful without the typical pain of imports, implicit conversions and extension methods then normally accompany monad transforms in Scala.

    For a more generic (i.e. beyond Option) or comprehensive monad transformer use Scalaz or similar.

  4. final class CallbackTo[A] extends AnyVal

    Permalink

    A function to be executed later, usually by scalajs-react in response to some kind of event.

    A function to be executed later, usually by scalajs-react in response to some kind of event.

    The purpose of this class is to lift effects into the type system, and use the compiler to ensure safety around callbacks (without depending on an external library like Scalaz).

    () => Unit is replaced by Callback. Similarly, ReactEvent => Unit is replaced by ReactEvent => Callback.

    A

    The type of result produced when the callback is invoked.

    Since

    0.10.0

  5. sealed trait Children extends AnyRef

    Permalink

    Describes how a component uses .props.children.

  6. sealed abstract class CtorType[-P, +U] extends AnyRef

    Permalink
  7. type GenericComponent[P, CT[-p, +u] <: CtorType[p, u], U] = ComponentSimple[P, CT, U]

    Permalink
  8. type JsComponent[P <: Object, S <: Object, CT[-p, +u] <: CtorType[p, u]] = react.component.Js.ComponentWithRoot[P, CT, UnmountedWithRawType[P, S, RawMounted], P, CT, UnmountedWithRawType[P, S, RawMounted]]

    Permalink
  9. type JsComponentWithFacade[P <: Object, S <: Object, F <: Object, CT[-p, +u] <: CtorType[p, u]] = react.component.Js.ComponentWithRoot[P, CT, UnmountedWithRawType[P, S, RawMounted with F], P, CT, UnmountedWithRawType[P, S, RawMounted with F]]

    Permalink
  10. type JsFnComponent[P <: Object, CT[-p, +u] <: CtorType[p, u]] = react.component.JsFn.ComponentWithRoot[P, CT, Unmounted[P], P, CT, Unmounted[P]]

    Permalink
  11. type Key = |[|[String, Boolean], JsNumber]

    Permalink
  12. final class PropsChildren extends AnyVal

    Permalink
  13. final type ReactAnimationEvent = SyntheticAnimationEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  14. final type ReactAnimationEventFrom[+N <: Node] = SyntheticAnimationEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  15. final type ReactAnimationEventFromHtml = SyntheticAnimationEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  16. final type ReactAnimationEventFromInput = SyntheticAnimationEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  17. final type ReactAnimationEventFromTextArea = SyntheticAnimationEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  18. final type ReactClipboardEvent = SyntheticClipboardEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  19. final type ReactClipboardEventFrom[+N <: Node] = SyntheticClipboardEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  20. final type ReactClipboardEventFromHtml = SyntheticClipboardEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  21. final type ReactClipboardEventFromInput = SyntheticClipboardEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  22. final type ReactClipboardEventFromTextArea = SyntheticClipboardEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  23. final type ReactCompositionEvent = SyntheticCompositionEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  24. final type ReactCompositionEventFrom[+N <: Node] = SyntheticCompositionEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  25. final type ReactCompositionEventFromHtml = SyntheticCompositionEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  26. final type ReactCompositionEventFromInput = SyntheticCompositionEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  27. final type ReactCompositionEventFromTextArea = SyntheticCompositionEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  28. final type ReactDragEvent = SyntheticDragEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  29. final type ReactDragEventFrom[+N <: Node] = SyntheticDragEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  30. final type ReactDragEventFromHtml = SyntheticDragEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  31. final type ReactDragEventFromInput = SyntheticDragEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  32. final type ReactDragEventFromTextArea = SyntheticDragEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  33. final type ReactEvent = SyntheticEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  34. final type ReactEventFrom[+N <: Node] = SyntheticEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  35. final type ReactEventFromHtml = SyntheticEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  36. final type ReactEventFromInput = SyntheticEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  37. final type ReactEventFromTextArea = SyntheticEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  38. trait ReactEventTypes extends AnyRef

    Permalink
  39. final class ReactExt_DomEvent extends AnyVal

    Permalink
  40. implicit final class ReactExt_DomNode extends AnyVal

    Permalink

    Extensions to plain old DOM.

    Extensions to plain old DOM.

    Annotations
    @inline()
  41. final class ReactExt_ReactEvent[E <: ReactEvent] extends AnyVal

    Permalink
  42. final class ReactExt_ReactKeyboardEvent[N <: Node] extends AnyVal

    Permalink
  43. final type ReactFocusEvent = SyntheticFocusEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  44. final type ReactFocusEventFrom[+N <: Node] = SyntheticFocusEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  45. final type ReactFocusEventFromHtml = SyntheticFocusEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  46. final type ReactFocusEventFromInput = SyntheticFocusEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  47. final type ReactFocusEventFromTextArea = SyntheticFocusEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  48. final type ReactKeyboardEvent = SyntheticKeyboardEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  49. final type ReactKeyboardEventFrom[+N <: Node] = SyntheticKeyboardEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  50. final type ReactKeyboardEventFromHtml = SyntheticKeyboardEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  51. final type ReactKeyboardEventFromInput = SyntheticKeyboardEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  52. final type ReactKeyboardEventFromTextArea = SyntheticKeyboardEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  53. final type ReactMouseEvent = SyntheticMouseEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  54. final type ReactMouseEventFrom[+N <: Node] = SyntheticMouseEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  55. final type ReactMouseEventFromHtml = SyntheticMouseEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  56. final type ReactMouseEventFromInput = SyntheticMouseEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  57. final type ReactMouseEventFromTextArea = SyntheticMouseEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  58. final type ReactTouchEvent = SyntheticTouchEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  59. final type ReactTouchEventFrom[+N <: Node] = SyntheticTouchEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  60. final type ReactTouchEventFromHtml = SyntheticTouchEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  61. final type ReactTouchEventFromInput = SyntheticTouchEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  62. final type ReactTouchEventFromTextArea = SyntheticTouchEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  63. final type ReactTransitionEvent = SyntheticTransitionEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  64. final type ReactTransitionEventFrom[+N <: Node] = SyntheticTransitionEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  65. final type ReactTransitionEventFromHtml = SyntheticTransitionEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  66. final type ReactTransitionEventFromInput = SyntheticTransitionEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  67. final type ReactTransitionEventFromTextArea = SyntheticTransitionEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  68. final type ReactUIEvent = SyntheticUIEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  69. final type ReactUIEventFrom[+N <: Node] = SyntheticUIEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  70. final type ReactUIEventFromHtml = SyntheticUIEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  71. final type ReactUIEventFromInput = SyntheticUIEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  72. final type ReactUIEventFromTextArea = SyntheticUIEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  73. final type ReactWheelEvent = SyntheticWheelEvent[Node]

    Permalink
    Definition Classes
    ReactEventTypes
  74. final type ReactWheelEventFrom[+N <: Node] = SyntheticWheelEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  75. final type ReactWheelEventFromHtml = SyntheticWheelEvent[Element]

    Permalink
    Definition Classes
    ReactEventTypes
  76. final type ReactWheelEventFromInput = SyntheticWheelEvent[Input]

    Permalink
    Definition Classes
    ReactEventTypes
  77. final type ReactWheelEventFromTextArea = SyntheticWheelEvent[TextArea]

    Permalink
    Definition Classes
    ReactEventTypes
  78. type ScalaComponent[P, S, B, CT[-p, +u] <: CtorType[p, u]] = react.component.Js.ComponentWithRoot[P, CT, Unmounted[P, S, B], Box[P], CT, JsUnmounted[P, S, B]]

    Permalink
  79. type ScalaComponentConfig[P, C <: Children, S, B] = (Step4[P, C, S, B]) ⇒ Step4[P, C, S, B]

    Permalink
  80. type ScalaFnComponent[P, CT[-p, +u] <: CtorType[p, u]] = react.component.JsFn.ComponentWithRoot[P, CT, Unmounted[P], Box[P], CT, Unmounted[Box[P]]]

    Permalink
  81. trait StateAccess[F[_], S] extends AnyRef

    Permalink

    Base class for something that has read/write state access (under the same effect type).

    Base class for something that has read/write state access (under the same effect type).

    Passing this around (top-level) is fine but do not use it in a generic/library/helper method. In intermediary positions, use StateAccessor instead.

    F

    The type of effect when accessing state.

    S

    State type.

  82. type StateAccessImpure[S] = StateAccess[Id, S]

    Permalink
  83. type StateAccessPure[S] = StateAccess[CallbackTo, S]

    Permalink
  84. trait StateAccessorImplicits extends StateAccessorImplicits1

    Permalink
  85. trait StateAccessorImplicits1 extends StateAccessorImplicits2

    Permalink
  86. trait StateAccessorImplicits2 extends AnyRef

    Permalink

Value Members

  1. object Callback

    Permalink

    A callback with no return value.

    A callback with no return value. Equivalent to () => Unit.

    See also

    CallbackTo

  2. object CallbackOption

    Permalink
  3. object CallbackTo

    Permalink
  4. object Children

    Permalink
  5. object CtorType

    Permalink
  6. val GenericComponent: Generic.type

    Permalink
  7. val JsComponent: Js.type

    Permalink
  8. val JsFnComponent: JsFn.type

    Permalink
  9. object PropsChildren

    Permalink
  10. object ReactAddons

    Permalink
  11. object ReactDOM

    Permalink
  12. object ReactDOMServer

    Permalink
  13. object ReactMouseEvent

    Permalink
  14. val ScalaComponent: Scala.type

    Permalink
  15. val ScalaFnComponent: ScalaFn.type

    Permalink
  16. object StateAccess

    Permalink
  17. object StateAccessor extends StateAccessorImplicits

    Permalink

    Type-classes that provide read and/or write access to state.

  18. package component

    Permalink
  19. package internal

    Permalink
  20. package raw

    Permalink
  21. implicit def toReactExt_DomEvent(e: Event): ReactExt_DomEvent

    Permalink
    Definition Classes
    ReactEventTypes
  22. implicit def toReactExt_ReactEvent[E <: ReactEvent](e: E): ReactExt_ReactEvent[E]

    Permalink
    Definition Classes
    ReactEventTypes
  23. implicit def toReactExt_ReactKeyboardEvent[N <: Node](e: ReactKeyboardEventFrom[N]): ReactExt_ReactKeyboardEvent[N]

    Permalink
    Definition Classes
    ReactEventTypes
  24. package vdom

    Permalink

Inherited from ReactEventTypes

Inherited from AnyRef

Inherited from Any

Ungrouped