Angularjs 从导航栏按钮调用角度的KendoUI操作表-所有者文档无效

Angularjs 从导航栏按钮调用角度的KendoUI操作表-所有者文档无效,angularjs,kendo-ui,Angularjs,Kendo Ui,以下HTML导致错误:当您将浏览器设置为模拟平板电脑(如IPad)时,无法获取未定义或空引用的属性“top” Codepen来了 剑道UI手机喜欢AngularJS 主视图 angular.module('sushiMobileApp',['kendo.directives']); 我想出了如何用k-rel代替open来完成这项工作 更新代码如下 这里是代码笔 剑道UI手机喜欢AngularJS 主视图 angular.module('sushiMobileApp

以下HTML导致错误:当您将浏览器设置为模拟平板电脑(如IPad)时,无法获取未定义或空引用的属性“top”

Codepen来了


剑道UI手机喜欢AngularJS
主视图
angular.module('sushiMobileApp',['kendo.directives']);
我想出了如何用k-rel代替open来完成这项工作

更新代码如下

这里是代码笔


剑道UI手机喜欢AngularJS
主视图
angular.module('sushiMobileApp',['kendo.directives']);
<html>

<head>
  <meta charset="utf-8">
  <title>Kendo UI Mobile Loves AngularJS</title>

  <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1029/styles/kendo.mobile.all.min.css">
  <!-- the application CSS file -->
  <link rel="http://demos.telerik.com/kendo-ui/content/mobile/apps/sushi/css/style.css">

  <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.js"></script>
  <script src="http://cdn.kendostatic.com/2014.3.1029/js/kendo.all.min.js"></script>
</head>

<body kendo-mobile-application ng-app="sushiMobileApp">

  <kendo-mobile-view id="index">
    <kendo-mobile-header>
      <kendo-mobile-nav-bar>
        Home View
        <button kendo-mobile-button k-align="'right'" data-icon="'contacts'" id="btnProfile" k-on-click="mnuProfile.open($('#btnProfile'))"></button>
      </kendo-mobile-nav-bar>
    </kendo-mobile-header>
    <ul kendo-mobile-action-sheet="mnuProfile" k-on-command="onCommand(kendoEvent)" k-type="'auto'">
      <li><a href="#" data-command="login">Login</a></li>
      <li ng-hide="(authentication.token.length == 0)"><a href="#" data-command="logout">Logout</a></li>
      <li><a href="#" data-command="showProfile">My Profile</a></li>
    </ul>
  </kendo-mobile-view>

  <script>
    angular.module('sushiMobileApp', [ 'kendo.directives' ]);
  </script>

</body>

</html>