4 ms·
I think you're looking for this http://www.jasonclient.org/doc/#template-reference http://www.jasonclient.org/doc/#template-reference you can use javascript ex
by gliechtenstein 10y ago
I think you're looking for this http://www.jasonclient.org/doc/#template-reference http://www.jasonclient.org/doc/#template-reference
you can use javascript expressions inside templates so everything you mentioned is possible using javascript.
Here's an example of javascript usage inside a template http://www.jasonbase.com/things/xLZ/edit http://www.jasonbase.com/things/xLZ/edit
Here's an example usage of a template that iterates through a data fetched from network request http://www.jasonbase.com/things/a8b/edit http://www.jasonbase.com/things/a8b/edit
Just to be clear, this is not HTML and has nothing to do with WebView. The JSON is used to directly manipulate native elements like UIStackView, UITableView, etc. and that's the whole point. Hope this makes sense...
- hyperpallium 10y agoThanks for the clarification - I knew that, but somehow forgot. Probably because they look similar, following similar function (i.e. layout). Yes, escape to javascript addresses my concerns. Good!