【发布时间】:2014-02-10 14:25:19
【问题描述】:
我正在使用 ionic 的 angularjs 列表,我希望每个项目滑动以显示选项。在这里没问题,但是当我点击一个选项时,我想再次关闭按钮 - 我如何在我的控制器中执行此操作?
$scope.listButtons = [{
Text: "Download",
Type: "button-assertive",
onTap: function(file){
//after tap hide buttons code here..
}
我试过了
File.hide();
和
this.hide();
但仍然无法隐藏它们
【问题讨论】:
标签: javascript list angularjs button swipe