整理した
This commit is contained in:
parent
8a279a4656
commit
cf33e483f7
552 changed files with 360 additions and 1311 deletions
8
src/client/app/mobile/api/input.ts
Normal file
8
src/client/app/mobile/api/input.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
export default function(opts) {
|
||||
return new Promise<string>((res, rej) => {
|
||||
const x = window.prompt(opts.title);
|
||||
if (x) {
|
||||
res(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue