leonidas / transparency

Transparency is a semantic template engine for the browser. It maps JSON objects to DOM elements by id, class and data-bind attributes.
http://leonidas.github.com/transparency/
MIT License
969 stars 112 forks source link

Is there any plan to add a new Feature? #150

Open likyh opened 8 years ago

likyh commented 8 years ago

Is there any plan to add a new Feature? now we can use it write data to html. can we use it read data from html?

woubuc commented 8 years ago

Not the dev here, but I think the whole point of this library is that it simply renders JSON data on the page, nothing more.

If you want to read element contents, or add in 2-way binding, you probably want to look into other libraries.

likyh commented 8 years ago

i just think it's very useful that "Semantic data binding", so want to know if there is another library to load data from HTML as the same way. thanks any way

woubuc commented 8 years ago

Not really the same way, but my favourite library for 2-way data binding is Knockout.

I don't know any library to get data from HTML that works the same way as Transparency.