3.0.3 • Published 7 years ago

binding v3.0.3

Weekly downloads
296
License
MIT
Repository
github
Last release
7 years ago

Build Status Coverage Status

Overview :

Binding system which includes any valid binding :

  • Bind value to variable.

  • Bind value to namespace. (DONE)

  • Bind model to view and view to model (MVVM)

  • And many ideas

Install

npm install binding --save;

or using CDN :

<script src="https://cdn.rawgit.com/abdennour/binding/master/cdn/binding-latest.min.js"></script>

Use Cases :

  1. Bind namespace to value :
import binding from 'binding';

const person = binding('name.firstname', 'Ahmed');
// console.log(person.name.firstname) // Ahmed
  1. Bind namespace to value and attach the object :
binding('person.name.firstname', 'Ahmed', window);
// console.log(person.name.firstname) // Ahmed

License:

MIT .

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

0.0.1-security

8 years ago

2.0.0

8 years ago

0.0.0

10 years ago