Home > @theatre/core

core package

Functions

Function Description
getProject(id, config) Returns a project of the given id, or creates one if it doesn't already exist.
onChange(pointer, callback) Calls callback every time the pointed value of pointer changes.
val(pointer) Takes a Pointer and returns the value it points to.

Interfaces

Interface Description
IProject A Theatre project
ISequence
ISheet
ISheetObject

Namespaces

Namespace Description
types

Type Aliases

Type Alias Description
IProjectConfig A project's config object (currently the only point of configuration is the project's state)