Using JsViews is it possible to have a converter precede a helper function in a data-link property? Somehow like this..  <div data-link="{myConverter:~myFunction('param1'):}"></div>   Thanks!...
When I try to do an event binding which calls a global helper function taking in 3 parameters, a TypeError is thrown stating e.apply is not a function. The functionality is not compromised but the html doesn't render properly (hrefs after the cal...
I am going through the following examples in JsViews site for buttons http://www.jsviews.com/#link-button. When I modify the code to take an input and display the same in the alertbox on clicking the button, the helper function gets executed onload....
A "working" copy of what I'm trying to do is below, I simply want to be able to add or edit data in the array but I have to do things like $('#examQuestion').val().  That seems more like a hack.   I assume there is an easy solutio...
Right now, I'm binding events to the parent element of my custom tag's rendered content, then using classes to target the event onto the element which my custom tag actually renders. I feel this is likely to cause strange bugs. For instance,...
How would I go about making an observable update to an object with child properties data-linked to form elements?    var app = {     formData: {         selectedThing: "thingValue1",         selectedPlace: "placeValue1"     } };    $(...
I am reading up this page http://www.jsviews.com/#linked-elem-syntax and testing a bit.    I like to start with this ..       Notice that the <input data-link="name trigger=true"/> tag   automatically has two-way data-binding.   Am I co...
I know I can call other JS files from XSJS by making a .xsjslib file. I would like to be able to call a JSView instead. Is this possible?  Note: the reason for me to this is that I can then use the sapui5 libraries and make it easier to import extern...
$.view(class).refresh()    Above code only works on the first element, if there are multiple elements with the same class. Is there any way by which i can update multiple elements with this?...
When I try to pass JavaScript object with numeric properties  { 1: "One", 2: "Two", 3: "Three" }   Data-binding doesn't render property values, only numbers like in example    $.templates("template", "#template...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.