admin管理员组

文章数量:1405535

I need to use some WebComponents at $JOB inside SvelteKit, built as a SPA.

Supposing that <my-web-component> has:

  • API attributes (like disabled, but custom ones)
  • Methods
  • Events

What could be the best way to wrap this around a Svelte Component, in order to have some type hinting and autocompletion?

Thanks

本文标签: web componentHow to properly wrap a WebComponent in Svelte(kit) 5Stack Overflow