Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgressiveImage<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

  • Parameters

    Returns ProgressiveImage

  • Parameters

    Returns ProgressiveImage

Properties

context

context: any

props

props: Readonly<ProgressiveImageProps> & Readonly<object>

refs

refs: object

Type declaration

  • [key: string]: ReactInstance

Static Optional contextType

contextType: Context<any>

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void
  • Returns void

Optional UNSAFE_componentWillReceiveProps

  • Parameters

    Returns void

Optional UNSAFE_componentWillUpdate

  • Parameters

    Returns void

Optional componentDidCatch

  • componentDidCatch(error: Error, errorInfo: ErrorInfo): void
  • Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

Optional componentDidMount

  • componentDidMount(): void
  • Returns void

Optional componentDidUpdate

  • Parameters

    Returns void

Optional componentWillMount

  • componentWillMount(): void
  • Returns void

componentWillReceiveProps

Optional componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Optional componentWillUpdate

  • Parameters

    Returns void

forceUpdate

  • forceUpdate(callback: undefined | function): void
  • Parameters

    • Optional callback: undefined | function

    Returns void

Optional getSnapshotBeforeUpdate

  • Parameters

    Returns SS | null

onError

  • onError(e: any): void

onLoad

  • onLoad(): void

render

  • render(): Element

setState

  • setState<K>(state: function | null | S | object, callback: undefined | function): void
  • Type parameters

    • K: keyof ProgressiveImageState

    Parameters

    • state: function | null | S | object
    • Optional callback: undefined | function

    Returns void

Optional shouldComponentUpdate

  • Parameters

    Returns boolean

Object literals

state

state: object

loaded

loaded: boolean = false

Generated using TypeDoc