Documentation

CHANGE

CHANGE

Readonly<ManagedChangeEvent>

Alias of the ManagedChangeEvent.CHANGE event.

This event (instance) can be emitted directly to avoid instantiating a new event object for each change event.

Example

import { ManagedRecord, CHANGE } from "typescene";
let myObject = ManagedRecord.create({ foo: "bar" });
myObject.foo = "FOO";
myObject.emit(CHANGE);