Type Parameters

  • P = any

  • S = any

Hierarchy

  • PluginStateAnimation

Properties

display: { description?: string; name: string }

Type declaration

  • Optional Readonly description?: string
  • Readonly name: string
isExportable?: boolean
name: string
stateSerialization?: { fromJSON: any; toJSON: any }

The state must be serializable to JSON. If JSON.stringify is not enough, custom converted to an object that works with JSON.stringify can be provided.

Type declaration

  • fromJSON:function
    • Parameters

      • data: any

      Returns S

  • toJSON:function
    • Parameters

      • state: S

      Returns any

Methods

  • Parameters

    Returns S

  • Parameters

    Returns void | Promise<void> | Promise<S>

  • Parameters

    Returns void | Promise<void>

Generated using TypeDoc