ampersand-wildemitter-datatype-mixin
A mixin for linking WildEmitter objects with Ampersand-State so that they can be bound by Ampersand-View.
Requires that the WildEmitter object emits events with this format:
emitter;
It must also make the PROPERTY
value an accessible attribute in
order for things like view bindings to work:
emitterfoo = 'new-foo';emitter;
Install
$ npm install ampersand-wildemitter-datatype-mixin
Example
var State = ;var WildEmitterMixin = ; var StateWithWildEmitter = State; var ex = ;exwild = ; ex; exwild;// -> it works!
License
MIT