Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

Hierarchy

Index

Constructors

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

Properties

base?: Element | Text
context: ViewContext
debug: boolean
propEquality: EqualityFuncs<Props>
props: RenderableProps<Props, any>
state: Readonly<State>
stateEquality: EqualityFuncs<State>
uid: string
addPropsEquality: ((this: { prototype: { propEquality: any } }, propEquality: any) => void)

Type declaration

    • (this: { prototype: { propEquality: any } }, propEquality: any): void
    • Parameters

      • this: { prototype: { propEquality: any } }
        • prototype: { propEquality: any }
          • propEquality: any
      • propEquality: any

      Returns void

addStateEquality: ((this: { prototype: { stateEquality: any } }, stateEquality: any) => void)

Type declaration

    • (this: { prototype: { stateEquality: any } }, stateEquality: any): void
    • Parameters

      • this: { prototype: { stateEquality: any } }
        • prototype: { stateEquality: any }
          • stateEquality: any
      • stateEquality: any

      Returns void

contextType: any
defaultProps?: any
displayName?: string

Methods

  • componentDidCatch(error: any, errorInfo: ErrorInfo): void
  • componentDidMount(): void
  • componentDidUpdate(previousProps: Readonly<Props>, previousState: Readonly<State>, snapshot: any): void
  • componentWillMount(): void
  • componentWillReceiveProps(nextProps: Readonly<Props>, nextContext: any): void
  • componentWillUnmount(): void
  • componentWillUpdate(nextProps: Readonly<Props>, nextState: Readonly<State>, nextContext: any): void
  • forceUpdate(callback?: (() => void)): void
  • getChildContext(): object
  • getSnapshotBeforeUpdate(oldProps: Readonly<Props>, oldState: Readonly<State>): any
  • isValidDateDownEl(el: HTMLElement): boolean
  • Parameters

    • el: HTMLElement

    Returns boolean

  • isValidSegDownEl(el: HTMLElement): boolean
  • Parameters

    • el: HTMLElement

    Returns boolean

  • prepareHits(): void
  • Returns void

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

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

    Returns null | Hit

  • render(props?: RenderableProps<Props, any>, state?: Readonly<State>, context?: any): ComponentChild
  • safeSetState(newState: Partial<State>): void
  • setState<K>(state: null | Partial<State> | ((prevState: Readonly<State>, props: Readonly<Props>) => null | Partial<State> | Pick<State, K>) | Pick<State, K>, callback?: (() => void)): void
  • Type Parameters

    • K extends string | number | symbol

    Parameters

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

    Returns void

  • shouldComponentUpdate(nextProps: Props, nextState: State): boolean
  • getDerivedStateFromError(error: any): null | object
  • getDerivedStateFromProps(props: object, state: object): null | object

Generated using TypeDoc