$ionicActionSheet的学习
来源:互联网 发布:东莞网络优化推广公司 编辑:程序博客网 时间:2024/05/29 15:04
这是效果图,点击右上角的navicon,就会出现右边的效果图
$ionicActionSheet我主要是通过ng-click="show()"
.html文件
<ion-view view-title="新朋友"> <ion-nav-bar class="bar-calm"> <ion-nav-buttons side="left"> <button class="button button-clear icon ion-chevron-left" ng-click="back()">消息</button> </ion-nav-buttons> <ion-nav-buttons side="right"> <button class="button button-clear icon ion-navicon-round" ng-click="show()"></button> </ion-nav-buttons> </ion-nav-bar> <ion-content> <div class="item item-avatar"> <img src="./img/ionic.png"> <h2><b>淘气的宝宝</b></h2> <span class="nfriend-s"> <p>已同意</p> </span> <h2>猜猜我是谁</h2> <p>来源:QQ号搜索</p> </div> </ion-content></ion-view>
.js文件
.controller('NewfriendCtrl',function($scope,$ionicActionSheet){ $scope.show = function() { var hideSheet = $ionicActionSheet.show({ destructiveText: '清空好友申请', cancelText: '取消', cancel: function() { }, buttonClicked: function(index) { return true; } }); };})
0 0
- $ionicActionSheet的学习
- $ionicActionSheet 在android 手机中显示错乱的博客
- IONIC----01.ionicActionSheet
- ionic $ionicActionSheet 手机显示不正常
- $ionicActionSheet安卓样式问题
- $ionicActionSheet在Android设备上显示错乱
- $ionicActionSheet 在Android手机上样式问题
- ionic之android真机CSS样式失效 $ionicActionSheet
- #! 的学习
- 学习的
- c++学习(类的学习)
- 字符串的学习---基本理论学习
- 学习Java的学习顺序
- c++学习(类的学习)
- JS学习 循环的学习
- 机器学习的学习资源
- STL学习--vector的学习
- 关于学习的学习要点
- hibernate级联删除操作
- Treap 模板
- C++基础---char型字符串库函数
- Android获得当前系统时间、星期几、周几
- 二叉树基本操作
- $ionicActionSheet的学习
- linux学习之路(11)
- Linux 下安装翻译软件——stardict(星际译王)
- 转载自--liner_z--knockoutjs介绍
- button的使用
- AngularJS 路由:ng-route 与 ui-router
- HDU 4286 Data Handler // 模拟链表
- CSS Line Box:溢出与折行
- webservice 小记