Packages

abstract class Component[P <: Object, S <: Object] extends Object

Annotations
@JSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Component
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Component(ctorProps: P = js.native)

Type Members

  1. final type Props = P with PropsWithChildren
  2. final type State = S

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def componentDidCatch(error: Error, info: ErrorInfo): Unit
  7. def componentDidMount(): Unit
  8. def componentDidUpdate(prevProps: Props, prevState: State): Unit
  9. def componentWillMount(): Unit
  10. def componentWillReceiveProps(nextProps: Props): Unit
  11. def componentWillUnmount(): Unit
  12. def componentWillUpdate(nextProps: Props, nextState: State): Unit
  13. final val constructor: Constructor[P]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def forceUpdate(callback: Function0[Unit] = js.native): Unit
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  22. final def modState(updateFn: Function2[State, Props, |[State, Null]], callback: Function0[Unit] = js.native): Unit
    Annotations
    @JSName("setState")
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  27. final def props: Props
  28. def render(): Node
  29. final def setState(partialState: |[State, Null], callback: Function0[Unit] = js.native): Unit
  30. def shouldComponentUpdate(nextProps: Props, nextState: State): Boolean
  31. var state: State
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toLocaleString(): String
    Definition Classes
    Object
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def valueOf(): Any
    Definition Classes
    Object
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped