io.github.nafg.scalajs.react.util
Members list
Type members
Classlikes
Reuse logic for componentDidMount and componentWillReceiveProps to asynchronously compute the state from the props Can accept a predicate to use in componentWillReceiveProps, to compare currentProps with nextProps Methods with "always" in the name don't take a predicate Methods with "const" in the name expect the computation to produce a Future[S] for setState; the other methods expect it to produce a Future[S => S] for modState.
Reuse logic for componentDidMount and componentWillReceiveProps to asynchronously compute the state from the props Can accept a predicate to use in componentWillReceiveProps, to compare currentProps with nextProps Methods with "always" in the name don't take a predicate Methods with "const" in the name expect the computation to produce a Future[S] for setState; the other methods expect it to produce a Future[S => S] for modState.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AsyncStateFromProps.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Debounce.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FutureValue.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object FutureValueView
Attributes
- Companion
- class
- Supertypes
-
trait HasSpinnerImageclass FutureValueViewclass FutureValueViewLiketrait HasBusyIndicatorclass Objecttrait Matchableclass AnyShow all
- Self type
-
FutureValueView.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FutureValueViewImpl.type
Attributes
- Supertypes
- Known subtypes
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object FutureView
Attributes
- Companion
- class
- Supertypes
-
trait HasSpinnerImageclass FutureViewclass FutureValueViewLiketrait HasBusyIndicatorclass Objecttrait Matchableclass AnyShow all
- Self type
-
FutureView.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object GlobalBusyIndicator
Attributes
- Companion
- class
- Supertypes
-
trait HasSpinnerImageclass GlobalBusyIndicatortrait HasBusyIndicatorclass Objecttrait Matchableclass AnyShow all
- Self type
-
GlobalBusyIndicator.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FutureValueViewLikeclass FutureValueViewobject FutureValueViewclass FutureViewobject FutureViewclass GlobalBusyIndicatorobject GlobalBusyIndicatortrait HasSpinnerImageShow all
Attributes
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IsUnmounted.type
Function (wrapper) whose equality is delegated to another value. Two KeyedFunctions whose key compares equal will themselves compare equal. Useful to control when React component props should appear equal or not
Function (wrapper) whose equality is delegated to another value. Two KeyedFunctions whose key compares equal will themselves compare equal. Useful to control when React component props should appear equal or not
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait () => Rclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LoadingIndicator.type
Allows publishing a message from outside the class.
Allows publishing a message from outside the class.
Broadcaster#broacast is protected so it can only be called from within.
Due to https://github.com/scala/bug/issues/12809, we can't override broadcast so this trait adds a public alternative called publish instead.
Type parameters
- A
-
The type of messages that can be broadcasted.
Attributes
- Supertypes
-
trait Broadcaster[A]trait Listenable[A]trait BroadcasterF[Sync, A]trait ListenableF[Sync, A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReactImplicits.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SnapshotUtils.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SpinnerImage.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any