https://github.com/nativescript-community/observable
https://github.com/nativescript-community/observable
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nativescript-community/observable
- Owner: nativescript-community
- License: apache-2.0
- Created: 2019-05-17T14:16:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-18T09:02:06.000Z (almost 4 years ago)
- Last Synced: 2025-01-29T19:52:50.436Z (over 1 year ago)
- Language: TypeScript
- Size: 41 KB
- Stars: 0
- Watchers: 18
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@nativescript-community/observable)
[](https://www.npmjs.com/package/@nativescript-community/observable)
[](https://github.com/nativescript-community/observable/network)
[](https://github.com/nativescript-community/observable/stargazers)
[](https://nodei.co/npm/@nativescript-community/observable/)
## 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