TimelineComponent<SS> Class

TimelineComponent is used to playback timeline data

Extends

Methods

Name Description
constructor(props: TimelineComponentProps): TimelineComponent    
componentDidUpdate(prevProps: TimelineComponentProps): void    
componentWillUnmount(): void    
render(): Element    
shouldComponentUpdate(nextProps: TimelineComponentProps, nextState: TimelineComponentState): boolean    

Inherited methods

Name Inherited from Description
UNSAFE_componentWillMount(): void Optional DeprecatedLifecycle Called immediately before mounting occurs, and before Component#render.
UNSAFE_componentWillReceiveProps(nextProps: Readonly<TimelineComponentProps>, nextContext: any): void Optional DeprecatedLifecycle Called when the component may be receiving new props.
UNSAFE_componentWillUpdate(nextProps: Readonly<TimelineComponentProps>, nextState: Readonly<TimelineComponentState>, nextContext: any): void Optional DeprecatedLifecycle Called immediately before rendering when new props or state is received.
componentDidCatch(error: Error, errorInfo: ErrorInfo): void Optional ComponentLifecycle Catches exceptions generated in descendant components.
componentDidMount(): void Optional ComponentLifecycle Called immediately after a component is mounted.
componentWillMount(): void Optional DeprecatedLifecycle Called immediately before mounting occurs, and before Component#render.
componentWillReceiveProps(nextProps: Readonly<TimelineComponentProps>, nextContext: any): void Optional DeprecatedLifecycle Called when the component may be receiving new props.
componentWillUpdate(nextProps: Readonly<TimelineComponentProps>, nextState: Readonly<TimelineComponentState>, nextContext: any): void Optional DeprecatedLifecycle Called immediately before rendering when new props or state is received.
forceUpdate(callback?: () => void): void Component<TimelineComponentProps, TimelineComponentState>  
getSnapshotBeforeUpdate(prevProps: Readonly<TimelineComponentProps>, prevState: Readonly<TimelineComponentState>): SS | null Optional NewLifecycle Runs before React applies the result of render to the document, and
setState<K extends undefined>(state: (prevState: Readonly<TimelineComponentState>, props: Readonly<TimelineComponentProps>) => null | S | { T } | null | S | { T }, callback?: () => void): void Component<TimelineComponentProps, TimelineComponentState>  

Inherited properties

Name Type Inherited from Description
context any Component<TimelineComponentProps, TimelineComponentState> If using the new style context, re-declare this in your class to be the
contextType Static undefined | Context<any> Component<TimelineComponentProps, TimelineComponentState> If set, this.context will be set at runtime to the current value of the given Context.
props Readonly<TimelineComponentProps> & Readonly<{ children?: ReactNode }> Component<TimelineComponentProps, TimelineComponentState>  
refs [key: string]: ReactInstance Component<TimelineComponentProps, TimelineComponentState>  
state Readonly<TimelineComponentState> Component<TimelineComponentProps, TimelineComponentState>  

Defined in

Last Updated: 28 June, 2021