reactiveproperty
v1.0.2
Published
ReactiveProperty for RxJS
Downloads
7
Readme
reactiveproperty.js - ReactiveProperty for RxJS
Partial javascript implementation of https://github.com/runceel/ReactiveProperty.
Synopsys
import { ReactiveProperty } from "reactiveproperty";
class MyClass {
myProperty: ReactiveProperty<string>;
constructor(str: string) {
this.myProperty = new ReactiveProperty<string>(str);
}
}
const obj = new MyClass("foo");
obj.myProperty.subscribe(str => console.log(str));
// > foo
obj.myProperty.value = "bar";
// > bar
See also
License
This is released under MIT License.