JSPM

@nativescript-community/observable

2.0.11
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 434
  • Score
    100M100P100Q100033F
  • License Apache-2.0

Nativescript Observable class extension.

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

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