Class: kb.TriggeredObservable
Defined in: | src/triggering/triggered-observable.coffee |
Instance Method Summary
- # (void) destroy() Required clean up function to break cycles, release view models, etc.
- ~ (Model|ModelRef|Collection) emitter() Dual-purpose getter/setter for the observed emitter.
Constructor Details
#
(ko.observable)
constructor(emitter, event_selector)
Note:
the constructor does not return 'this' but a ko.observable
Used to create a new kb.Observable.
Instance Method Details
#
(void)
destroy()
Required clean up function to break cycles, release view models, etc. Can be called directly, via kb.release(object) or as a consequence of ko.releaseNode(element).
~
(Model|ModelRef|Collection)
emitter()
~
(void)
emitter(new_emitter)
Dual-purpose getter/setter for the observed emitter.