Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kmturley/tie
Bind data to html elements
https://github.com/kmturley/tie
Last synced: about 2 months ago
JSON representation
Bind data to html elements
- Host: GitHub
- URL: https://github.com/kmturley/tie
- Owner: kmturley
- Created: 2014-01-23T15:40:24.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-14T01:35:13.000Z (almost 11 years ago)
- Last Synced: 2024-05-02T00:59:48.405Z (8 months ago)
- Language: JavaScript
- Homepage: https://kimturley.co.uk/tie/index.html
- Size: 153 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tie
Automatic binding of data to html elements. Simply include the library and add your data-tie attributes.
Main advantages of using Tie:
* 1.4KB in size (minified)!
* Bind data to the dom using data-tie
* auto load by putting data-tie an the root object name on the bodyUsage example:
```html
var tiedata = {
person: {
name: 'Joe Bloggs',
age: 23
}
};
//start tie and provide data
tie.init(tiedata);
```