Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Component<NowTimerProps, NowTimerState>
    • NowTimer

Index

Constructors

constructor

Properties

Optional base

base: undefined | Element | Text

Private clearTimeout

clearTimeout: any

Private computeTiming

computeTiming: any

context

context: ViewContext

initialNowDate

initialNowDate: Date

initialNowQueriedMs

initialNowQueriedMs: number

props

props: RenderableProps<NowTimerProps, any>

Private setTimeout

setTimeout: any

state

state: Readonly<NowTimerState>

timeoutId

timeoutId: any

Static contextType

contextType: any

Optional Static defaultProps

defaultProps: any

Optional Static displayName

displayName: undefined | string

Methods

Optional componentDidCatch

componentDidCatch:

componentDidMount

  • componentDidMount(): void
  • Returns void

componentDidUpdate

  • componentDidUpdate(prevProps: NowTimerProps): void
  • Parameters

    • prevProps: NowTimerProps

    Returns void

Optional componentWillMount

componentWillMount:

Optional componentWillReceiveProps

componentWillReceiveProps:

componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Optional componentWillUpdate

componentWillUpdate:

forceUpdate

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

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

    Returns void

Optional getChildContext

getChildContext:

Optional getSnapshotBeforeUpdate

getSnapshotBeforeUpdate:

render

setState

  • 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: "nowDate" | "todayRange"

    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

Optional shouldComponentUpdate

shouldComponentUpdate:

Optional Static getDerivedStateFromError

getDerivedStateFromError:

Optional Static getDerivedStateFromProps

getDerivedStateFromProps:

Generated using TypeDoc