Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nativescript-community/observable

farfromrefuge2kApache-2.02.0.11TypeScript support: included

Nativescript Observable class extension.

NativeScript, JavaScript, Android, iOS

readme

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