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

Feature request: from Html.Styled #335

Open
Tails opened this issue Feb 12, 2022 · 1 comment
Open

Feature request: from Html.Styled #335

Tails opened this issue Feb 12, 2022 · 1 comment

Comments

@Tails
Copy link

Tails commented Feb 12, 2022

Currently there is the htmlfunction available to convert a Html.Html value to an Element. However, part of my layout is using Html.Styled.Html (Elm-CSS). It would be great if a convertor was available to create an Element from a Styled, like htmlStyled.

@NduatiK
Copy link

NduatiK commented Apr 25, 2022

Could you go from Html.Styled to Html to Element?

htmlStyled = 
    Html.Styled.toUnstyled >> Element.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants