Skip to main content

All Questions

0 votes
1 answer
233 views

calling external function in Proxy object (Javascript ECMAscript)

I am observing an object and want to call a function upon changing values. I could do it with Object.observe and would like to try simplify with Proxy. I cannot call an external function, cause it ...
user305883's user avatar
  • 1,711
0 votes
1 answer
91 views

EcmaScript Object.observer is not notifying property changes

I an using ES6 classes plus Object.observer, using the MaxArt2501 implementation. I have this code below: const READY = Symbol("Ready"); const RUNNING = Symbol("Running"); class Foo { ...
Rafael Afonso's user avatar
8 votes
3 answers
3k views

Alternatives of JavaScript Proxy

I want to use Proxy on a customized class called ObservableList which contains an Array. Since Proxy is available only after ES6, I wonder if there is any alternative implementation. My requirement ...
Ovilia's user avatar
  • 7,186