Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Component<NowTimerProps, NowTimerState>
    • NowTimer

Index

Constructors

Properties

base?: Element | Text
clearTimeout: any
computeTiming: any
context: ViewContext
initialNowDate: Date
initialNowQueriedMs: number
props: RenderableProps<NowTimerProps, any>
setTimeout: any
state: Readonly<NowTimerState>
timeoutId: any
contextType: any
defaultProps?: any
displayName?: string

Methods

  • componentDidCatch(error: any, errorInfo: ErrorInfo): void
  • componentDidMount(): void
  • componentDidUpdate(prevProps: NowTimerProps): void
  • componentWillMount(): void
  • componentWillReceiveProps(nextProps: Readonly<NowTimerProps>, nextContext: any): void
  • componentWillUnmount(): void
  • componentWillUpdate(nextProps: Readonly<NowTimerProps>, nextState: Readonly<NowTimerState>, nextContext: any): void
  • Parameters

    • nextProps: Readonly<NowTimerProps>
    • nextState: Readonly<NowTimerState>
    • nextContext: any

    Returns void

  • forceUpdate(callback?: (() => void)): void
  • Parameters

    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • getChildContext(): object
  • getSnapshotBeforeUpdate(oldProps: Readonly<NowTimerProps>, oldState: Readonly<NowTimerState>): any
  • setState<K>(state: null | ((prevState: Readonly<NowTimerState>, props: Readonly<NowTimerProps>) => null | Pick<NowTimerState, K> | Partial<NowTimerState>) | Pick<NowTimerState, K> | Partial<NowTimerState>, callback?: (() => void)): void
  • Type Parameters

    • K extends keyof NowTimerState

    Parameters

    • state: null | ((prevState: Readonly<NowTimerState>, props: Readonly<NowTimerProps>) => null | Pick<NowTimerState, K> | Partial<NowTimerState>) | Pick<NowTimerState, K> | Partial<NowTimerState>
    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • shouldComponentUpdate(nextProps: Readonly<NowTimerProps>, nextState: Readonly<NowTimerState>, nextContext: any): boolean
  • Parameters

    • nextProps: Readonly<NowTimerProps>
    • nextState: Readonly<NowTimerState>
    • nextContext: any

    Returns boolean

  • getDerivedStateFromError(error: any): null | object
  • getDerivedStateFromProps(props: object, state: object): null | object

Generated using TypeDoc