Properties
refs
refs: object
Type declaration
-
[key: string]: ReactInstance
Methods
componentDidMount
- componentDidMount(): void
componentWillReceiveProps
componentWillUnmount
- componentWillUnmount(): void
forceUpdate
- forceUpdate(callBack?: undefined | function): void
-
Parameters
-
Optional callBack: undefined | function
Returns void
getCurrentDrawType
- getCurrentDrawType(): string | undefined
-
Returns string
|
undefined
setState
- setState<K>(f: function, callback?: undefined | function): void
- setState<K>(state: Pick<Partial<IMeasureContainerState>, K>, callback?: undefined | function): void
-
Type parameters
Parameters
-
f: function
-
Optional callback: undefined | function
Returns void
-
Type parameters
Parameters
-
-
Optional callback: undefined | function
Returns void
Static Optional componentDidMount
- componentDidMount(): void
Static Optional componentDidUpdate
Static Optional componentWillMount
- componentWillMount(): void
Static Optional componentWillReceiveProps
- componentWillReceiveProps(nextProps: Readonly<MeasureProps>, nextContext: any): void
Static Optional componentWillUnmount
- componentWillUnmount(): void
Static Optional componentWillUpdate
Static Optional shouldComponentUpdate
-
Parameters
Returns boolean