You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to disable automatic registration of a web-component.
That I should be able to register my component manually with "extends" param.
But when I will do registration manually - it will fail, because component should be inherited from HTMLVideoElement, which is don't.
Is there some doc or example how to extend existing tags with svelte?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We can create web-components using svelte. But in documentation mostly covered case with new custom-tag.
I can't understand hot to use extends.
for example if I want to extend
to disable automatic registration of a web-component.
That I should be able to register my component manually with "extends" param.
But when I will do registration manually - it will fail, because component should be inherited from HTMLVideoElement, which is don't.
Is there some doc or example how to extend existing tags with svelte?
Beta Was this translation helpful? Give feedback.
All reactions