@nativescript-community/observable
Nativescript Observable class extension.
npm i --save @nativescript-community/observable
  • Version: 2.0.11
  • GitHub:
  • Downloads:
    • Last Day:   44
    • Last Week:  267
    • Last Month: 1497

npm npm GitHub forks GitHub stars

NPM

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