https://github.com/akshatbhargava123/one-way-data-binding-without-framework
One way data-binding using Proxy
https://github.com/akshatbhargava123/one-way-data-binding-without-framework
javascript one-way-data-binding proxy without-framework
Last synced: 8 days ago
JSON representation
One way data-binding using Proxy
- Host: GitHub
- URL: https://github.com/akshatbhargava123/one-way-data-binding-without-framework
- Owner: akshatbhargava123
- Created: 2019-01-31T11:52:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T11:58:31.000Z (almost 7 years ago)
- Last Synced: 2025-01-19T19:39:38.819Z (12 months ago)
- Topics: javascript, one-way-data-binding, proxy, without-framework
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## **One Way Databinding** in JS using Proxy
without any frontend framework
# How to use?
- Simply create an object instance using dataBinding function and pass your initial data to it.
- Make any element in your HTML template as _data-bind-**key_you_want_to_bind**_
# How it works?
It uses Javascript Proxy API to capture the set event on object.