Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding attributes to the <body> #28

Open
ii8 opened this issue Sep 30, 2023 · 0 comments
Open

Adding attributes to the <body> #28

ii8 opened this issue Sep 30, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ii8
Copy link
Contributor

ii8 commented Sep 30, 2023

When using Browser.application the view function should return a Browser.Document. A document like that lets you set the title and the html content of the <body> tag but not its attributes. And it seems that existing attributes on the <body>, before Gren is started, will be removed by Gren.

Is it possible somehow to have <body class="hello"> when using Browser.application?

@robinheghan robinheghan added bug Something isn't working help wanted Extra attention is needed labels Oct 1, 2023
@robinheghan robinheghan transferred this issue from gren-lang/core Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants