小编Vin*_*ani的帖子

Sveltekit 转到新标签

我正在使用 sveltekit goto 函数通过 on:click 在 div 上导航到页面。

clickHandler: (id: string) => goto(`/app/profile/${id}/settings/general-info`)
Run Code Online (Sandbox Code Playgroud)

如何指定在新选项卡中打开页面,就像使用 CTRL + 单击一样?

html javascript svelte sveltekit

5
推荐指数
1
解决办法
4157
查看次数

标签 统计

html ×1

javascript ×1

svelte ×1

sveltekit ×1