user1639576 user1639576 - 3 months ago 12x
AngularJS Question

jqx-img-src does not work using AngularJS and JqWidgets

I am trying to use jqx-img-src along with jqx-button (see jsfiddle 1), but I cannot get it work. However setting imgSrc property in settings works (see jsfiddle 2). But according to his JqWidgets documentation both approaches should work.

jsfiddle 1 :

jsfiddle 2 :

I have tried this on my local machine. And I get imgSrc invalid property when I use jqx-img-src.

Can someone please explain me, why this is happening.

Many thanks in advance


Apparently I should put the url in jqx-img-src in single quotes too.

Updated working jsfiddle :