Skip to content

Add <svelte:html> special element #8663

@KKKaisar

Description

@KKKaisar

Describe the problem

I need to change tag's attributes dynamically.

Describe the proposed solution

Only I can do is document.querySelector('html').setAttribute('data-theme','dark') and document.querySelector('html').setAttribute('lang','kz') for every attribute

Alternatives considered

Please add svelte:html special element for that

Importance

would make my life easier

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions