Supersonic/Steroids/Appgyver 中的 AngularJS 新手
我知道这不起作用,但是有一些变体可以工作:
<super-navbar-button side="left">
{{ titleButtonLeft }}
</super-navbar-button>
<super-navbar-button side="right">
{{ titleButtonRight }}
</super-navbar-button>
尽管
$scope.titleButtonLeft = "Left"
$scope.titleButtonRight = "Right"
或者,通过超级导航栏按钮上的代码更改标题,而无需删除和添加它们。
似乎无法专门访问按钮,例如:
supersonic.ui.navigationBar.buttons.right[0]
或者
supersonic.ui.views.current.navigationBar.buttons.left[0]
即使他们应该居住在其中的某个地方,根据:
http://docs.appgyver.com/supersonic/guides/ui/native-components/navigation-bar/#programmatic-apis
有什么建议么?