当前位置:网站首页>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
边栏推荐
- MySQL advanced index [classification, performance analysis, use, design principles]
- Vite configure proxy proxy to solve cross domain
- 2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
- Leak detection and vacancy filling (VIII)
- JS interview question: FN call. call. call. Call (FN2) parsing
- 2022年上海市安全员C证操作证考试题库及模拟考试
- Thirteen documents in software engineering
- An example of linear regression based on tensorflow
- 41. The first missing positive number
- 198. Looting - Dynamic Planning
猜你喜欢
C# 网络相关操作
[appium] write scripts by designing Keyword Driven files
Go语言JSON包使用
JS high frequency interview questions
On the method of outputting the complete name of typeID from GCC
440. The k-th small number of dictionary order (difficult) - dictionary tree - number node - byte skipping high-frequency question
Leak detection and vacancy filling (6)
高德地图搜索、拖拽 查询地址
cv_ Solution of mismatch between bridge and opencv
编译原理 求first集 follow集 select集预测分析表 判断符号串是否符合文法定义(有源码!!!)
随机推荐
JS high frequency interview questions
开源按键组件Multi_Button的使用,含测试工程
I/O多路复用及其相关详解
编译原理 求first集 follow集 select集预测分析表 判断符号串是否符合文法定义(有源码!!!)
[binary number] maximum depth of binary tree + maximum depth of n-ary tree
An example of linear regression based on tensorflow
Cross domain settings of Chrome browser -- including new and old versions
ES6 face test questions (reference documents)
Summary of common server error codes
Type judgment in [untitled] JS
JS parsing and execution process
209. 长度最小的子数组-滑动窗口
2022年茶艺师(初级)考试模拟100题及模拟考试
undefined reference to `Nabo::NearestNeighbourSearch
QTableWidget使用讲解
92. 反转链表 II-字节跳动高频题
How to read literature
Tell the truth of TS
Implementation of object detection case based on SSD
2022 Jiangxi energy storage technology exhibition, China Battery exhibition, power battery exhibition and fuel cell Exhibition