https://github.com/chadhietala/key-value-observering
https://github.com/chadhietala/key-value-observering
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chadhietala/key-value-observering
- Owner: chadhietala
- Created: 2013-10-09T15:10:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-09T15:20:04.000Z (over 11 years ago)
- Last Synced: 2025-02-10T08:23:14.075Z (4 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Key Value Observing
When an class property is bound, it is converted into an object and a reference to the object is assigned to each class. In this way, each class is accessing the exact same property.
Class properties must be accessed and modified using the setters and getters. Should any 'changed' callbacks be registered, they will be invoked when set() is called.