Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Index

Constructors

constructor

  • new DateComponent<Props, State>(props?: Props, context?: any): DateComponent<Props, State>

Properties

Optional base

base?: Element | Text

context

context: ViewContext

debug

debug: boolean

propEquality

propEquality: EqualityFuncs<Props>

props

props: RenderableProps<Props, any>

state

state: Readonly<State>

stateEquality

stateEquality: EqualityFuncs<State>

uid

uid: string

Static addPropsEquality

addPropsEquality: (propEquality: any) => void

Type declaration

    • (propEquality: any): void
    • Parameters

      • propEquality: any

      Returns void

Static addStateEquality

addStateEquality: (stateEquality: any) => void

Type declaration

    • (stateEquality: any): void
    • Parameters

      • stateEquality: any

      Returns void

Static contextType

contextType: any

Static Optional defaultProps

defaultProps?: any

Static Optional displayName

displayName?: string

Methods

Optional componentDidCatch

  • componentDidCatch(error: any, errorInfo: any): void

Optional componentDidMount

  • componentDidMount(): void

Optional componentDidUpdate

  • componentDidUpdate(previousProps: Readonly<Props>, previousState: Readonly<State>, snapshot: any): void

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

  • componentWillReceiveProps(nextProps: Readonly<Props>, nextContext: any): void

Optional componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

  • componentWillUpdate(nextProps: Readonly<Props>, nextState: Readonly<State>, nextContext: any): void

forceUpdate

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

Optional getChildContext

  • getChildContext(): object

Optional getSnapshotBeforeUpdate

  • getSnapshotBeforeUpdate(oldProps: Readonly<Props>, oldState: Readonly<State>): any

isValidDateDownEl

isValidSegDownEl

prepareHits

  • prepareHits(): void
  • Returns void

queryHit

  • queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): null | Hit
  • Parameters

    • positionLeft: number
    • positionTop: number
    • elWidth: number
    • elHeight: number

    Returns null | Hit

Abstract render

  • render(props?: RenderableProps<Props, any>, state?: Readonly<State>, context?: any): ComponentChild

setState

  • setState<K>(state: null | ((prevState: Readonly<State>, props: Readonly<Props>) => null | Pick<State, K> | Partial<State>) | Pick<State, K> | Partial<State>, callback?: () => void): void
  • Type parameters

    • K: string | number | symbol

    Parameters

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

    Returns void

shouldComponentUpdate

  • shouldComponentUpdate(nextProps: Props, nextState: State): boolean

Static Optional getDerivedStateFromError

  • getDerivedStateFromError(error: any): null | object

Static Optional getDerivedStateFromProps

  • getDerivedStateFromProps(props: object, state: object): null | object

Generated using TypeDoc