当前位置:网站首页>Ionic5 form input box and radio button
Ionic5 form input box and radio button
2022-06-23 09:09:00 【kenick】
Page effects

html file
<ion-list>
<div>
<ion-input type="text" value="" maxlength="30" placeholder=" Please enter the secondary distribution mobile number ( Registered )" [(ngModel)]="phone"></ion-input>
</div>
<ion-radio-group [(ngModel)]="operate" >
<ion-list-header>
<ion-label> Please click on the options below :</ion-label>
</ion-list-header>
<ion-item>
<ion-label> Authorized distribution </ion-label>
<ion-radio slot="start" value="1"></ion-radio>
</ion-item>
<ion-item>
<ion-label> Cancel distribution </ion-label>
<ion-radio slot="start" value="0"></ion-radio>
</ion-item>
</ion-radio-group>
</ion-list>ts file
export class DistributionPage implements OnInit {
public phone: any;
public operate:1;
constructor(
public router: Router,
public httpUtil: HttpUtil,
public commonService: CommonService,
public commonUtil: CommonUtil
) {
}
ngOnInit() {
}
ionViewWillEnter() {
}
grantSecondDistribution(){
console.trace("grantSecondDistribution.in,phone:"+this.phone+",operate:"+this.operate);
}
}边栏推荐
- New engine, new capability, new experience, Tencent host security flagship release
- Community article | mosn building subset optimization ideas sharing
- The results of CDN node and source station are inconsistent
- [learning resources] understand and love mathematics
- 玩转NanoPi 2 裸机教程编程-01点亮User LED难点解析
- Cookie和Session入门
- Custom tag - JSP tag Foundation
- 【学习资源】理解数学和热爱数学
- Click Add drop-down box
- 线性表(SequenceList)的顺序表示与实现----线性结构
猜你喜欢

Custom tag - JSP tag Foundation

Flink error --caused by: org apache. calcite. sql. parser. SqlParseException: Encountered “time“

'教练,我想打篮球!' —— 给做系统的同学们准备的 AI 学习系列小册

设CPU有16根地址线,8根数据线,并用MREQ作为访存控制线号......存储器与CPU的连接

Custom tags - JSP tag enhancements

自定义标签——jsp标签增强

Aiming at the overseas pet market, "grasshand" has developed an intelligent tracking product independent of mobile phones | early project

多线程初学

“教练,我想打篮球“ —— 给做系统的同学们准备的 AI 学习系列小册

简易学生管理
随机推荐
The results of CDN node and source station are inconsistent
ARM处理器与51单片机程序编写的区别
Combination sum of leetcode topic analysis
Redis学习笔记—遍历键
[QNX Hypervisor 2.2用户手册]6.2 网络
瞄准海外宠物市场,「Grasphand 」做了一款独立于手机的智能追踪产品 | 早期项目
Typora设置图片上传服务
【云原生 | Kubernetes篇】Kubernetes原理与安装(二)
[QNX Hypervisor 2.2用户手册]6.1 使用QNX Hypervisor系统
Leetcode topic analysis 3sum
Redis学习笔记—主从复制
位绑定
Best time to buy and sell stock
Redis学习笔记—数据类型:哈希(hash)
力扣之滑动窗口《循序渐进》(209.长度最小的子数组、904. 水果成篮)
node request模块cookie使用
如何在 FlowUs、Notion 等笔记软件中使用矩阵分析法建立你的思维脚手架
Redis学习笔记—持久化机制之AOF
2022.6.22-----leetcode. five hundred and thirteen
在小程序中实现视频通话及互动直播的一种方法