-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the problem
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
Metadata
Metadata
Assignees
Labels
No labels