Options
All
  • Public
  • Public/Protected
  • All
Menu

A component placeholder

export
class

PlaceholderComponent

extends

{React.Component}

Hierarchy

Index

Constructors

constructor

Properties

context

context: any

props

props: Readonly<object> & Readonly<IPlaceholderComponentProps>

refs

refs: object

Type declaration

  • [key: string]: ReactInstance

state

state: Readonly<any>

Methods

forceUpdate

  • forceUpdate(callBack?: undefined | function): void
  • Parameters

    • Optional callBack: undefined | function

    Returns void

render

  • render(): Element
  • Returns Element

setState

  • setState<K>(f: function, callback?: undefined | function): void
  • setState<K>(state: Pick<any, K>, callback?: undefined | function): void
  • Type parameters

    • K: keyof S

    Parameters

    Returns void

  • Type parameters

    • K: keyof S

    Parameters

    • state: Pick<any, K>
    • Optional callback: undefined | function

    Returns void

Static Optional componentDidMount

  • componentDidMount(): void
  • Returns void

Static Optional componentDidUpdate

Static Optional componentWillMount

  • componentWillMount(): void
  • Returns void

Static Optional componentWillReceiveProps

Static Optional componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Static Optional componentWillUpdate

Static Optional shouldComponentUpdate

Generated using TypeDoc