Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseComponent<SimpleScrollGridProps, SimpleScrollGridState>
    • SimpleScrollGrid

Index

Constructors

  • new SimpleScrollGrid(props?: SimpleScrollGridProps, context?: any): SimpleScrollGrid

Properties

base?: Element | Text
context: ViewContext
debug: boolean
handleSizing: (() => void)

Type declaration

    • (): void
    • Returns void

processCols: ((a: any) => any)

Type declaration

    • (a: any): any
    • Parameters

      • a: any

      Returns any

propEquality: EqualityFuncs<SimpleScrollGridProps>
props: RenderableProps<SimpleScrollGridProps, any>
renderMicroColGroup: ((cols: ColProps[], shrinkWidth?: number) => VNode)

Type declaration

scrollerElRefs: RefMap<HTMLElement>
scrollerRefs: RefMap<Scroller>
state: SimpleScrollGridState
stateEquality: EqualityFuncs<SimpleScrollGridState>
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

  • _handleScrollerEl(scrollerEl: null | HTMLElement, key: string): void
  • Parameters

    • scrollerEl: null | HTMLElement
    • key: string

    Returns void

  • componentDidCatch(error: any, errorInfo: ErrorInfo): void
  • componentDidMount(): void
  • componentDidUpdate(): void
  • componentWillMount(): void
  • componentWillReceiveProps(nextProps: Readonly<SimpleScrollGridProps>, nextContext: any): void
  • componentWillUnmount(): void
  • componentWillUpdate(nextProps: Readonly<SimpleScrollGridProps>, nextState: Readonly<SimpleScrollGridState>, nextContext: any): void
  • Parameters

    • nextProps: Readonly<SimpleScrollGridProps>
    • nextState: Readonly<SimpleScrollGridState>
    • nextContext: any

    Returns void

  • computeScrollerDims(): { forceYScrollbars: boolean; scrollerClientHeights: {}; scrollerClientWidths: {} }
  • Returns { forceYScrollbars: boolean; scrollerClientHeights: {}; scrollerClientWidths: {} }

    • forceYScrollbars: boolean
    • scrollerClientHeights: {}
      • [index: string]: number
    • scrollerClientWidths: {}
      • [index: string]: number
  • computeShrinkWidth(): number
  • Returns number

  • forceUpdate(callback?: (() => void)): void
  • getChildContext(): object
  • getSnapshotBeforeUpdate(oldProps: Readonly<SimpleScrollGridProps>, oldState: Readonly<SimpleScrollGridState>): any
  • safeSetState(newState: Partial<SimpleScrollGridState>): void
  • setState<K>(state: null | Partial<SimpleScrollGridState> | ((prevState: Readonly<SimpleScrollGridState>, props: Readonly<SimpleScrollGridProps>) => null | Partial<SimpleScrollGridState> | Pick<SimpleScrollGridState, K>) | Pick<SimpleScrollGridState, K>, callback?: (() => void)): void
  • Type Parameters

    • K extends keyof SimpleScrollGridState

    Parameters

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

    Returns void

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

Generated using TypeDoc