1.4.0 • Published 11 months ago

@playcanvas/observer v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Overview

This repository contains classes used across the PlayCanvas Editor and PCUI. These classes are used in data binding and history (undo, redo).

Installing

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.

Events

Base class for event emitters. Allows emitting events and attaching event handlers.

Observer

Responsible for editing an object that contains JSON data. The class emits events when properties change.

ObserverList

A list of observers with similar functionality and events.

ObserverHistory

Records undo / redo when an Observer changes.

History

Responsible for keeping track of history actions (for undo / redo).

1.4.0

11 months ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

2 years ago

1.2.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago