mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 19:26:02 +02:00
整理した
This commit is contained in:
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);
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user