Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Timeline<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

  • Parameters

    Returns Timeline

  • Parameters

    Returns Timeline

Properties

context

context: any

Private old_time

old_time: number = this.props.time_state.time

props

props: Readonly<TimelineProps> & 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

  • UNSAFE_componentWillReceiveProps(nextProps: Readonly<TimelineProps>, nextContext: any): void
  • 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

componentDidUpdate

  • componentDidUpdate(): void

Optional componentWillMount

  • componentWillMount(): void
  • Returns void

Optional componentWillReceiveProps

  • componentWillReceiveProps(nextProps: Readonly<TimelineProps>, nextContext: any): void
  • Parameters

    Returns void

Optional componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Optional componentWillUpdate

  • Parameters

    Returns void

create_interval

  • create_interval(): void

forceUpdate

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

    • Optional callback: undefined | function

    Returns void

Optional getSnapshotBeforeUpdate

  • Parameters

    Returns SS | null

onKeyDown

  • onKeyDown(char: string, x: number, y: number): void

onKeyUp

  • onKeyUp(char: string, x: number, y: number): void

onMouseDown

  • onMouseDown(x: number, y: number): void

onMouseLeave

  • onMouseLeave(x: number, y: number): void

onMouseMove

  • onMouseMove(x: number, y: number): void

onMouseUp

  • onMouseUp(x: number, y: number): void

render

  • render(): Element

setState

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

    • K: keyof TimelineState

    Parameters

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

    Returns void

Optional shouldComponentUpdate

  • Parameters

    Returns boolean

Object literals

key_bindings

key_bindings: object

__computed

__computed: object

i

i: create_interval = this.create_interval

state

state: object

new_negative_interval

new_negative_interval: null = null

new_positive_interval

new_positive_interval: null = null

shift_held

shift_held: false = false

drag_state

drag_state: object

click_end_time

click_end_time: number = 0

click_start_time

click_start_time: number = 0

click_time

click_time: number = 0

click_x

click_x: number = 0

click_y

click_y: number = 0

dragging

dragging: false = false

Generated using TypeDoc