当前位置:网站首页>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进阶之索引【分类,性能分析,使用,设计原则】

Go language JSON package usage

Transfer learning of five categories of pictures based on VGg

Comparison between xtask and kotlin coroutine

Welcome to the markdown editor

Eigen learning summary

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

Fashion classification case based on keras

Index: teach you index from zero basis to proficient use

1217_ Generating target files using scons
随机推荐
402. Remove K digits - greedy
Submit local warehouse and synchronize code cloud warehouse
.104History
470. Rand10() is implemented with rand7()
Build openstack platform
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
Welcome to the markdown editor
Hcip fifth experiment
Thirteen documents in software engineering
SystemVerilog (VI) - variable
2021长城杯WP
一些问题一些问题一些问题一些问题
Tell the truth of TS
MySQL advanced index [classification, performance analysis, use, design principles]
C# 网络相关操作
239. Maximum value of sliding window (difficult) - one-way queue, large top heap - byte skipping high frequency problem
SQL optimization for advanced learning of MySQL [insert, primary key, sort, group, page, count]
2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展
Index: teach you index from zero basis to proficient use
2022江西储能技术展会,中国电池展,动力电池展,燃料电池展