Class: kb.LocalizedObservable
Defined in: | src/localization/localized-observable.coffee |
Variables Summary
- extend =
-
kb
Instance Method Summary
- # (void) destroy() Required clean up function to break cycles, release view models, etc.
- # (void) resetToCurrent() Used to reset the value if localization is not possible.
- # (void) observedValue(value) Dual purpose set/get
Constructor Details
#
(ko.observable)
constructor(value, options, vm)
Note:
the constructor does not return 'this' but a ko.observable
Used to create a new kb.LocalizedObservable. This an abstract class.
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).
#
(void)
resetToCurrent()
Used to reset the value if localization is not possible.
#
(void)
observedValue(value)
Dual purpose set/get