An open API service indexing awesome lists of open source software.

https://github.com/nativescript-community/observable


https://github.com/nativescript-community/observable

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

[![npm](https://img.shields.io/npm/v/@nativescript-community/observable.svg)](https://www.npmjs.com/package/@nativescript-community/observable)
[![npm](https://img.shields.io/npm/dt/@nativescript-community/observable.svg?label=npm%20downloads)](https://www.npmjs.com/package/@nativescript-community/observable)
[![GitHub forks](https://img.shields.io/github/forks/Akylas/@nativescript-community/observable.svg)](https://github.com/nativescript-community/observable/network)
[![GitHub stars](https://img.shields.io/github/stars/Akylas/@nativescript-community/observable.svg)](https://github.com/nativescript-community/observable/stargazers)

[![NPM](https://nodei.co/npm/@nativescript-community/observable.png?downloads=true&downloadRank=true&stars=true)](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