Svg binding not working on device

2 posts, 0 answers
  1. Odin
    Odin avatar
    1 posts
    Member since:
    Jan 2015

    Posted 16 Jan 2015 Link to this post

    I'm using kendo mobile framework and it's MVVM. I want to use it to bind svg attribute like that

    <path data-bind="attr:{fill:myColor}" ...>

    This code works fine and the attribute is binded in the appbuilder simulator, but it doesn't work on real devices. I've tested it on ios, windows phone and android and it didn't worked at all of them. It could be kendo bug, but I wonder why it works in the simulator only.
  2. Kaloyan
    Kaloyan avatar
    871 posts

    Posted 21 Jan 2015 Link to this post

    Hello Odin,

    Thank you for contacting our support services. I managed to reproduce the described by you behavior on all of the supported by AppBuilder mobile platforms. Unfortunately, this is expected as the data-binding is not supported in svg elements. This is a limitation that comes from Kendo UI. Still, as I am not sure why it is working in the AppBuilder simulator, I will pass it to the Kendo team for further investigation.

    I hope this answers your question. Please, let me know if I can be of further assistance.


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top