This is a migrated thread and some comments may be shown as answers.

Mobile / NavBar / ToolBar as ActionBar / AngularjS

1 Answer 76 Views
NavBar
This is a migrated thread and some comments may be shown as answers.
Frederik
Top achievements
Rank 1
Frederik asked on 02 Jun 2015, 10:23 AM

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

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 04 Jun 2015, 09:33 AM
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!
 
Tags
NavBar
Asked by
Frederik
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or