Use angularjs directive for slotTemplate

2 posts, 0 answers
  1. Michael
    Michael avatar
    5 posts
    Member since:
    Jun 2014

    Posted 01 May 2015 Link to this post

    Hi,

    I am using the slotTemplate to display preferred event types by color. I have the <script> version working, but I am wanting to use an angularjs directive to handle the javascript logic instead. I have tried the obvious ways:

    slotTemplate: '<directive-element></directive-element>' and slotTemplate: '<div directive-attribute></div>'

    It seems to ignore it. 

    Is there anyway for me to avoid <script> or literal strings containing both js and html?

    Thanks,

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2196 posts

    Posted 05 May 2015 Link to this post

    Hello Michael,


    Currently this option is not supported as directive - that why you should continue using the previous approach which is working on your side.

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top