Object

japgolly.scalajs.react

Callback

Related Doc: package react

Permalink

object Callback

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

See also

CallbackTo

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Callback
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class ResultGuard[A] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ResultGuard

    Permalink
  5. def apply[U](f: ⇒ U)(implicit arg0: ResultGuard[U]): Callback

    Permalink
    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def assert(test: Boolean, message: String, optionalParams: Any*): Callback

    Permalink

    Convenience for calling dom.console.assert.

  8. def byName(f: ⇒ Callback): Callback

    Permalink

    Callback that is recreated each time it is used.

    Callback that is recreated each time it is used.

    https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_name

    Annotations
    @inline()
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val empty: Callback

    Permalink

    A callback that does nothing.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def ifTrue(pred: Boolean, c: ⇒ Callback): Callback

    Permalink

    Convenience for applying a condition to a callback, and returning Callback.empty when the condition isn't satisfied.

  17. def info(message: Any, optionalParams: Any*): Callback

    Permalink

    Convenience for calling dom.console.info.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def lazily(f: ⇒ Callback): Callback

    Permalink

    Callback that isn't created until the first time it is used, after which it is reused.

  20. def lift(f: () ⇒ Unit): Callback

    Permalink
    Annotations
    @inline()
  21. def log(message: Any, optionalParams: Any*): Callback

    Permalink

    Convenience for calling dom.console.log.

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def warn(message: Any, optionalParams: Any*): Callback

    Permalink

    Convenience for calling dom.console.warn.

Deprecated Value Members

  1. def TODO(reason: ⇒ String): Callback

    Permalink

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Unlike ??? this doesn't crash, it just prints a warning to the console.

    Also it's not really deprecated; that's just so you get a compiler warning as a reminder.

    Annotations
    @deprecated
    Deprecated

    (Since version not really deprecated)

  2. def TODO: Callback

    Permalink

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Unlike ??? this doesn't crash, it just prints a warning to the console.

    Also it's not really deprecated; that's just so you get a compiler warning as a reminder.

    Annotations
    @deprecated
    Deprecated

    (Since version not really deprecated)

Inherited from AnyRef

Inherited from Any

Ungrouped