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
I was in need to bind lang and dir attributes of documentElement, unable to find any first party solution to it. Had to resort manual dom manipulation using document.documentElement. Also looked into Skeleton UI's source code, it also has some what similar approach to mine. In official documentation, I was able to find the following special elements.
Describe the proposed solution
Its implementation should be similar to <svelte:head/> where you can bind to its arrtibutes, like <svelte:dom/> or <svelte:html/>. Or may be expose its attributes through, <svelte:document/> special element
Importance
would make my life easier
The text was updated successfully, but these errors were encountered:
Describe the problem
I was in need to bind
lang
anddir
attributes of documentElement, unable to find any first party solution to it. Had to resort manual dom manipulation usingdocument.documentElement
. Also looked into Skeleton UI's source code, it also has some what similar approach to mine. In official documentation, I was able to find the following special elements.Describe the proposed solution
Its implementation should be similar to
<svelte:head/>
where you can bind to its arrtibutes, like<svelte:dom/>
or<svelte:html/>
. Or may be expose its attributes through,<svelte:document/>
special elementImportance
would make my life easier
The text was updated successfully, but these errors were encountered: