Component

slinky.core.Component
See theComponent companion object
abstract class Component extends Component

Attributes

Companion:
object
Graph
Supertypes
class Component
class Object
trait Any
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Types

type Props
type State

Value members

Abstract methods

Concrete methods

def componentDidCatch(error: Error, info: ErrorBoundaryInfo): Unit
def componentDidMount(): Unit
def componentDidUpdate(prevProps: Props, prevState: State): Unit
def componentDidUpdate(prevProps: Props, prevState: State, snapshot: Snapshot): Unit
def componentWillMount(): Unit
def componentWillReceiveProps(nextProps: Props): Unit
def componentWillUpdate(nextProps: Props, nextState: State): Unit
def getSnapshotBeforeUpdate(prevProps: Props, prevState: State): Snapshot
final def props: Props
final def setState(s: State): Unit
final def setState(fn: State => State): Unit
final def setState(fn: (State, Props) => State): Unit
final def setState(s: State, callback: () => Unit): Unit
final def setState(fn: State => State, callback: () => Unit): Unit
final def setState(fn: (State, Props) => State, callback: () => Unit): Unit
def shouldComponentUpdate(nextProps: Props, nextState: State): Boolean
final def state: State

Inherited methods

def forceUpdate(callback: Function0[Unit]): Unit

Attributes

Inherited from:
Component
def forceUpdate(): Unit

Attributes

Inherited from:
Component
def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object