当前位置:网站首页>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);
}
}边栏推荐
- Vue3表单页面利用keep-alive缓存数据的一种思路
- 986. Interval List Intersections
- Longest substring without repeated characters (C language)
- Basic process of code scanning login
- Balls and cows of leetcode topic analysis
- [qnx hypervisor 2.2 user manual]6.2 network
- "Coach, I want to play basketball" -- AI Learning Series booklet for students who are making systems
- 类型从属名称的使用必须以“typename”为前缀
- 125. Valid Palindrome
- Cookie和Session入门
猜你喜欢

Flink错误--Caused by: org.apache.calcite.sql.parser.SqlParseException: Encountered “time“

636. Exclusive Time of Functions

General paging (1)

GeoServer adding mongodb data source

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

173. Binary Search Tree Iterator

The fourth online workshop review

JSP入门总结

Redis学习笔记—持久化机制之RDB

In depth interpretation of poca smart contract platform gear: the road to parallel architecture public chain
随机推荐
Unique paths for leetcode topic resolution
在小程序中实现视频通话及互动直播的一种方法
Mqtt+flink to subscribe and publish real-time messages
[learning resources] understand and love mathematics
[QNX Hypervisor 2.2用户手册]6.1 使用QNX Hypervisor系统
披萨订购设计----简单工厂模式
1、 Software architecture evaluation
How to use "tomato working method" in flowus, notation and other note taking software?
Redis学习笔记—发布订阅
Linux MySQL installation
523. Continuous Subarray Sum
4sum of leetcode topic analysis
Unique paths II of leetcode topic analysis
如何在 FlowUs、Notion 等笔记软件中使用「番茄工作法」?
简易学生管理
Which is better, semrush or ahrefs? Which is more suitable for GoogleSEO keyword analysis
How postman does interface testing 1: how to import swagger interface documents
3. caller service call - dapr
Click Add drop-down box
MySQL故障案例 | mysqldump: Couldn’t execute ‘SELECT COLUMN_NAME