Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional base

base: undefined | Element | Text

context

context: ViewContext

debug

debug: boolean

Private el

el: any

handleEl

handleEl: (el: HTMLElement) => void

Type declaration

propEquality

propEquality: EqualityFuncs<ScrollerProps>

props

props: RenderableProps<ScrollerProps, any>

state

state: Readonly<Record<string, any>>

stateEquality

stateEquality: EqualityFuncs<Record<string, any>>

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

Optional Static defaultProps

defaultProps: any

Optional Static displayName

displayName: undefined | string

Methods

Optional componentDidCatch

componentDidCatch:

Optional componentDidMount

componentDidMount:

Optional componentDidUpdate

componentDidUpdate:

Optional componentWillMount

componentWillMount:

Optional componentWillReceiveProps

componentWillReceiveProps:

Optional componentWillUnmount

componentWillUnmount:

Optional componentWillUpdate

componentWillUpdate:

forceUpdate

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

Optional getChildContext

getChildContext:

Optional getSnapshotBeforeUpdate

getSnapshotBeforeUpdate:

getXScrollbarWidth

  • getXScrollbarWidth(): number
  • Returns number

getYScrollbarWidth

  • getYScrollbarWidth(): number
  • Returns number

needsXScrolling

  • needsXScrolling(): boolean

needsYScrolling

  • needsYScrolling(): boolean

render

setState

  • setState<K>(state: null | Partial<Record<string, any>> | ((prevState: Readonly<Record<string, any>>, props: Readonly<ScrollerProps>) => null | Partial<Record<string, any>> | Pick<Record<string, any>, K>) | Pick<Record<string, any>, K>, callback?: () => void): void
  • Type parameters

    • K: string

    Parameters

    • state: null | Partial<Record<string, any>> | ((prevState: Readonly<Record<string, any>>, props: Readonly<ScrollerProps>) => null | Partial<Record<string, any>> | Pick<Record<string, any>, K>) | Pick<Record<string, any>, K>
    • Optional callback: () => void
        • (): void
        • Returns void

    Returns void

shouldComponentUpdate

  • shouldComponentUpdate(nextProps: ScrollerProps, nextState: Record<string, any>): boolean

Optional Static getDerivedStateFromError

getDerivedStateFromError:

Optional Static getDerivedStateFromProps

getDerivedStateFromProps:

Generated using TypeDoc