trait extra extends AnyRef
- Alphabetic
- By Inheritance
- extra
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final val useForceUpdate: HookResult[Reusable[Sync[Unit]]]
Provides a Callback that when invoked forces a re-render of your component.
Provides a Callback that when invoked forces a re-render of your component.
- Annotations
- @inline()
- final val useRefToAnyVdom: HookResult[ToAnyVdom]
Create a mutable ref that will persist for the full lifetime of the component.
Create a mutable ref that will persist for the full lifetime of the component.
- Annotations
- @inline()
- final def useRefToJsComponent[F[_], A[_], P1, S1, CT1[-p, +u] <: CtorType[p, u], R <: RawMounted[P0, S0], P0 <: Object, S0 <: Object, CT0[-p, +u] <: CtorType[p, u]](a: WithJsComponentArg[F, A, P1, S1, CT1, R, P0, S0]): HookResult[WithJsComponent[F, A, P1, S1, CT1, R, P0, S0]]
Create a mutable ref that will persist for the full lifetime of the component.
Create a mutable ref that will persist for the full lifetime of the component.
- Annotations
- @inline()
- final def useRefToJsComponent[P <: Object, S <: Object]: HookResult[ToJsComponent[P, S, RawMounted[P, S]]]
Create a mutable ref that will persist for the full lifetime of the component.
Create a mutable ref that will persist for the full lifetime of the component.
- Annotations
- @inline()
- final def useRefToJsComponentWithMountedFacade[P <: Object, S <: Object, F <: Object]: HookResult[ToJsComponent[P, S, RawMounted[P, S] with F]]
Create a mutable ref that will persist for the full lifetime of the component.
Create a mutable ref that will persist for the full lifetime of the component.
- Annotations
- @inline()
- final def useRefToScalaComponent[P, S, B, CT[-p, +u] <: CtorType[p, u]](c: Component[P, S, B, CT]): HookResult[WithScalaComponent[P, S, B, CT]]
Create a mutable ref that will persist for the full lifetime of the component.
Create a mutable ref that will persist for the full lifetime of the component.
- Annotations
- @inline()
- final def useRefToScalaComponent[P, S, B]: HookResult[ToScalaComponent[P, S, B]]
Create a mutable ref that will persist for the full lifetime of the component.
Create a mutable ref that will persist for the full lifetime of the component.
- Annotations
- @inline()
- final def useRefToVdom[N <: TopNode](implicit arg0: ClassTag[N]): HookResult[ToVdom[N]]
Create a mutable ref that will persist for the full lifetime of the component.
Create a mutable ref that will persist for the full lifetime of the component.
- Annotations
- @inline()
- final def useReused[D](deps: => D)(implicit arg0: Reusability[D]): HookResult[(D, Int)]
Given a reusable value, returns the original value that is being reused whenver reusability applies, together with a revisition a number that increments only when the value isn't reused.
Given a reusable value, returns the original value that is being reused whenver reusability applies, together with a revisition a number that increments only when the value isn't reused.
Useful for using
Reusability
logic in facades to JS hooks that accept dependencies: you can pass the revision as a dependency to the JS hook.- Annotations
- @inline()
- final def useStateWithReuse[S](initialState: => S)(implicit arg0: ClassTag[S], arg1: Reusability[S]): HookResult[UseStateWithReuse[S]]
Returns a stateful value, and a function to update it.
Returns a stateful value, and a function to update it.
During the initial render, the returned state is the same as the value passed as the first argument (initialState).
During subsequent re-renders, the first value returned by useState will always be the most recent state after applying updates.
- Annotations
- @inline()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()