Javascript coding in UX


#1

To explain better I would like to be able to use in UX javascript code. Example:

<Each Items="{holidays}">
    <Text Value="{location}" />
    <Image Url="{'img.imgur.com/' + image}" />
    <Text Value="{details}" />
</Each>

See where am I going with this? Take a look at the <Image>. At its URL it joins together the website link and the image value taken from the observable holidays, and the specific link of that ‘location’ because of the <Each>. This will make intergrating UX with FuseJS so much easier and simpler.


#2

You should concat the string in Javascript instead. At this point we do not plan to support inline expressions like that.