enhance(client): リスト、アンテナタイムラインを個別ページとして分割

This commit is contained in:
syuilo 2021-09-21 21:04:59 +09:00
parent b35ca3b739
commit 72a49f334a
9 changed files with 348 additions and 70 deletions

View file

@ -372,7 +372,7 @@ export async function openEmojiPicker(src?: HTMLElement, opts, initialTextarea:
});
}
export function popupMenu(items: any[], src?: HTMLElement, options?: { align?: string; viaKeyboard?: boolean }) {
export function popupMenu(items: any[] | Ref<any[]>, src?: HTMLElement, options?: { align?: string; viaKeyboard?: boolean }) {
return new Promise((resolve, reject) => {
let dispose;
popup(import('@client/components/ui/popup-menu.vue'), {