Packages

t

react

ReactContext

trait ReactContext[T] extends Object

React's context object contains the consumer and provider "components".

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

Type Members

  1. type ValueType = T

    Convenience = type parameter.

Value Members

  1. val Consumer: ReactJSComponent

    Requires function as a childe.

  2. val Provider: ReactJSComponent

    Props take an object with a single property, value, with the context value.

  3. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  4. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  5. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  6. def toLocaleString(): String
    Definition Classes
    Object
  7. def valueOf(): Any
    Definition Classes
    Object