Skip to content

mpstv/bind-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bind

This simple proof of concept shows how to create a binding between object and template was created for learning purposes.

example

Description

File bind.js exports one function that takes a template id in html and an object, then return proxy and a function to remove event handlers.

The binding works with data-bind attribute values, that should be equals object property.

The template will be updated when the inputs values change or object properties change.

Proxy accessible from the browser console, and you can experiment with it.

About

Just bind html and javascript!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published