Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CaptionTrack<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

Properties

canvas_ref

canvas_ref: any

caption_groups

caption_groups: Interval[][]

context

context: any

flat_to_nested

flat_to_nested: object

Type declaration

  • [index: number]: object[]

group_refs

group_refs: any[]

nested_to_flat

nested_to_flat: object

Type declaration

  • [group: number]: object
    • [interval: number]: number

props

props: Readonly<CaptionTrackProps> & Readonly<object>

refs

refs: object

Type declaration

  • [key: string]: ReactInstance

settings

settings: Settings | null = null

state

state: Readonly<__type>

Static Optional contextType

contextType: Context<any>

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void
  • Returns void

Optional UNSAFE_componentWillReceiveProps

  • UNSAFE_componentWillReceiveProps(nextProps: Readonly<CaptionTrackProps>, nextContext: any): void
  • Parameters

    Returns void

Optional UNSAFE_componentWillUpdate

  • UNSAFE_componentWillUpdate(nextProps: Readonly<CaptionTrackProps>, nextState: Readonly<__type>, nextContext: any): void
  • Parameters

    • nextProps: Readonly<CaptionTrackProps>
    • nextState: Readonly<__type>
    • nextContext: any

    Returns void

Optional componentDidCatch

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

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

componentDidMount

  • componentDidMount(): void

Optional componentDidUpdate

  • componentDidUpdate(prevProps: Readonly<CaptionTrackProps>, prevState: Readonly<__type>, snapshot: SS): void
  • Parameters

    Returns void

Optional componentWillMount

  • componentWillMount(): void
  • Returns void

Optional componentWillReceiveProps

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

    Returns void

Optional componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Optional componentWillUpdate

  • componentWillUpdate(nextProps: Readonly<CaptionTrackProps>, nextState: Readonly<__type>, nextContext: any): void
  • Parameters

    • nextProps: Readonly<CaptionTrackProps>
    • nextState: Readonly<__type>
    • nextContext: any

    Returns void

forceUpdate

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

    • Optional callback: undefined | function

    Returns void

Optional getSnapshotBeforeUpdate

  • getSnapshotBeforeUpdate(prevProps: Readonly<CaptionTrackProps>, prevState: Readonly<__type>): SS | null
  • Parameters

    Returns SS | null

onKeyUp

  • onKeyUp(key: string): void

render

  • render(): Element

select_text

  • select_text(): void

setState

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

    • K: keyof __type

    Parameters

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

    Returns void

Optional shouldComponentUpdate

  • shouldComponentUpdate(nextProps: Readonly<CaptionTrackProps>, nextState: Readonly<__type>, nextContext: any): boolean
  • Parameters

    • nextProps: Readonly<CaptionTrackProps>
    • nextState: Readonly<__type>
    • nextContext: any

    Returns boolean

Object literals

key_bindings

key_bindings: object

__computed

__computed: object

l

l: select_text = this.select_text

Generated using TypeDoc