Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new CalendarRoot(props?: CalendarRootProps, context?: any): CalendarRoot

Properties

Optional base

base?: Element | Text

context

context: ViewContext

debug

debug: boolean

handleAfterPrint

handleAfterPrint: () => void

Type declaration

    • (): void
    • Returns void

handleBeforePrint

handleBeforePrint: () => void

Type declaration

    • (): void
    • Returns void

propEquality

propEquality: EqualityFuncs<CalendarRootProps>

props

props: RenderableProps<CalendarRootProps, any>

state

state: { forPrint: boolean }

Type declaration

  • forPrint: boolean

stateEquality

stateEquality: EqualityFuncs<CalendarRootState>

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

componentDidMount

  • componentDidMount(): void

Optional componentDidUpdate

  • componentDidUpdate(previousProps: Readonly<CalendarRootProps>, previousState: Readonly<CalendarRootState>, snapshot: any): void
  • Parameters

    • previousProps: Readonly<CalendarRootProps>
    • previousState: Readonly<CalendarRootState>
    • snapshot: any

    Returns void

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

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

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

  • componentWillUpdate(nextProps: Readonly<CalendarRootProps>, nextState: Readonly<CalendarRootState>, nextContext: any): void
  • Parameters

    • nextProps: Readonly<CalendarRootProps>
    • nextState: Readonly<CalendarRootState>
    • nextContext: any

    Returns void

forceUpdate

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

Optional getChildContext

  • getChildContext(): object

Optional getSnapshotBeforeUpdate

  • getSnapshotBeforeUpdate(oldProps: Readonly<CalendarRootProps>, oldState: Readonly<CalendarRootState>): any

render

setState

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

    • K: "forPrint"

    Parameters

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

    Returns void

shouldComponentUpdate

  • shouldComponentUpdate(nextProps: CalendarRootProps, nextState: CalendarRootState): boolean

Static Optional getDerivedStateFromError

  • getDerivedStateFromError(error: any): null | object

Static Optional getDerivedStateFromProps

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

Generated using TypeDoc