Mobile / NavBar / ToolBar as ActionBar / AngularjS

2 posts, 0 answers
  1. Frederik
    Frederik avatar
    12 posts
    Member since:
    May 2009

    Posted 02 Jun 2015 Link to this post

    Hey Guys,

    it is possible to replace the click function with ng-click (angularjs)? 

    For example:

     

    <header data-role="header">
    <div data-role="toolbar" data-items='[

          { type: "button", showText: "overflow", id: "flag", text: "Flag", icon: "toprated", click: function(e){ alert("123") } },
          { type: "button", showText: "overflow", id: "flag2", text: "Flag2", icon: "toprated", ng-click: function(e){ alert("123") } },
         ]'>
    </div>
    </header>

     

     Greeting

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 04 Jun 2015 Link to this post

    Hi Frederik,

    I am afraid that this is not possible at present. Please use the the click configuration option.

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top