This repository contains classes used across the PlayCanvas Editor and PCUI. These classes are used in data binding and history (undo, redo).
To build a UMD module of the library run:
npm install
npm run build
The built file will be a UMD module located at dist/index.js
.
Base class for event emitters. Allows emitting events and attaching event handlers.
Responsible for editing an object that contains JSON data. The class emits events when properties change.
A list of observers with similar functionality and events.
Records undo / redo when an Observer changes.
Responsible for keeping track of history actions (for undo / redo).