当前位置:网站首页>Auto. JS custom dialog box
Auto. JS custom dialog box
2022-04-23 17:56:00 【Feast notes】

view = ui.inflate(
<vertical>
<horizontal>
<text text=" account number "/>
<input id=" account number "w="*"/>
</horizontal>
<horizontal>
<text text=" password "/>
<input id=" password "w="*"/>
</horizontal>
</vertical>
);
dialogs.build({
customView: view,
title: " Sign in ",
positive: " determine ",
negative: " Cancel ",
neutral: " register "
}).on("positive", (dialog) => {
account number =view. account number .text();
password =view. password .text();
toast(" account number ="+ account number +"\n password ="+ password )
}).on("negative", (dialog) => {
toast(" Cancel ")
dialog.dismiss();
}).on("neutral", (dialog) => {
toast(" register ")
}).show();
QQ Group 568523841
版权声明
本文为[Feast notes]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231752502995.html
边栏推荐
- C#的随机数生成
- Index: teach you index from zero basis to proficient use
- How to read literature
- 402. Remove K digits - greedy
- Compilation principle first set follow set select set prediction analysis table to judge whether the symbol string conforms to the grammar definition (with source code!!!)
- Cross domain settings of Chrome browser -- including new and old versions
- Listen for click events other than an element
- JS forms the items with the same name in the array object into the same array according to the name
- Gets the time range of the current week
- Write a regular
猜你喜欢

Operation of 2022 mobile crane driver national question bank simulation examination platform

Client example analysis of easymodbustcp

Nat Commun|在生物科学领域应用深度学习的当前进展和开放挑战

The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time

.105Location

云原生虚拟化:基于 Kubevirt 构建边缘计算实例

Uniapp custom search box adaptation applet alignment capsule

2022江西光伏展,中国分布式光伏展会,南昌太阳能利用展
![C1 notes [task training part 2]](/img/10/48f7490a6c097f2b178ae948cb2c91.png)
C1 notes [task training part 2]

Laser slam theory and practice of dark blue College Chapter 3 laser radar distortion removal exercise
随机推荐
列錶的使用-增删改查
Client example analysis of easymodbustcp
Cloud native Virtualization: building edge computing instances based on kubevirt
Halo 开源项目学习(二):实体类与数据表
This point in JS
Halo open source project learning (II): entity classes and data tables
QTableWidget使用讲解
C language loop structure program
2022 Shanghai safety officer C certificate operation certificate examination question bank and simulation examination
386. Dictionary order (medium) - iteration - full arrangement
Thirteen documents in software engineering
Logic regression principle and code implementation
Anchor location - how to set the distance between the anchor and the top of the page. The anchor is located and offset from the top
209. Minimum length subarray - sliding window
MySQL_01_简单数据检索
Comparison between xtask and kotlin coroutine
JS forms the items with the same name in the array object into the same array according to the name
ES6
An example of linear regression based on tensorflow
EasymodbusTCP之clientexample解析