Skip to content

akshatbhargava123/One-way-data-binding-without-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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.