Questions tagged [jsviews]

JsViews: Next-generation MVVM framework created and maintained by Boris Moore. Do NOT use this tag for questions about "JS views" in SAPUI5.

JsViews

Next-generation MVVM framework - bringing templates to life. Integrates with JsRender.

The JsViews framework brings declarative data-binding to JsRender templates, supports MVVM and MVP (custom tag controls), and much more...

Currently in pre-beta (could still have a few breaking changes in more advanced APIs).

See also on GitHub: https://github.com/BorisMoore/jsviews

JsRender can also be used stand-alone, without JsViews, and with or without jQuery:

209 questions
2
votes
1 answer

How to keep helper function generated HTML tags for JsViews

In JsRender[1] I have the custom tags {{tag data /}} to generate part of my page. According to http://borismoore.github.com/jsrender/demos/step-by-step/03_converters-and-encoding.html it is possible to use {{:value}} to render HTML from value…
Ryan
  • 870
  • 1
  • 7
  • 18
2
votes
1 answer

JsViews: Converter before helper function in data-link

Using JsViews is it possible to have a converter precede a helper function in a data-link property? Somehow like this..
Thanks!
doorman
  • 15,707
  • 22
  • 80
  • 145
1
vote
1 answer

Jsrender data value break on whitespace

i am using jsrender and i got issue on accessing value {{for items}} {{/for}} here i got value as: "{" id":"1","name":"johnny depp"}" $("#id1").val() gives '{' all other values…
1
vote
1 answer

jsRender object is not updated when I update the input field externally via jQuery (was working in old version)

I want to update input field externally (via jQuery) and I expect the associated object to be updated too, like I just typed the value into the input field by hand. Here is my html:
Rufi
  • 13
  • 2
1
vote
2 answers

Ready event for templates

In JsViews i can bind events in the following way:
  • Some Content
  • This will execute the method "eventHandler" after a click. But I need an event which will be fired when the template is…
    1
    vote
    1 answer

    JsViews: Update/refresh data on multiple `select's` dynamically simultaneously - using depends=

    I am having trouble getting observable data to update/refresh on multiple select's dynamically simultaneously. When rendering two+ select's with a filter displaying only those option's that are NOT selected in another select. Thus, if an option is…
    BrentH
    • 27
    • 4
    1
    vote
    2 answers

    JsViews: On 'change' with Select not working as expected

    And by following Boris Moore's example I can ensure the…
    John Clegg
    • 348
    • 3
    • 6
    1
    2
    3
    13 14