Package Exports
- @nativescript-community/observable
- @nativescript-community/observable/observable.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nativescript-community/observable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
tns plugin add @nativescript-community/observable
Be sure to run a new build after adding plugins to avoid any issues.
this is a simple subclass of TNS Observable class which let the observable know when a listener was added or removed. Very useful to create native object to listen for native event only when necessary