mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 17:32:41 +00:00
feat: 3d click in layout
feat: action autocomplete [deploy]
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
}
|
||||
})
|
||||
|
||||
async function shareLayout(event) {
|
||||
async function shareLayout(event: Event) {
|
||||
const url = new URL(window.location.href)
|
||||
url.searchParams.set("layout", await layoutAsUrlComponent($layout))
|
||||
await navigator.clipboard.writeText(url.toString())
|
||||
tippy(event.target, {
|
||||
tippy(event.target as HTMLElement, {
|
||||
content: "Share url copied!",
|
||||
delay: [0, 1000000],
|
||||
onHidden(instance) {
|
||||
|
||||
Reference in New Issue
Block a user