tool-shop-js-observable
v0.0.2
Published
JavaScript Library that provides a implementation for observable objects
Downloads
4
Readme
Tool Shop JS Observable
Abstract
This implementation delivers an easy to use Observable wrapper for any JavaScript object or array.
Get Started
Installation
npm install --save tool-shop-js-observable
Usage
const data = Observable({
message: "You are welcome!"
});
data.$on("message", () => {
console.log("Message changed!");
});
data.message = "Thank you!";