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

No PixelStyleValue defined for type String error for Jsdom backend #177

Open
doofin opened this issue Feb 5, 2018 · 1 comment
Open

Comments

@doofin
Copy link

doofin commented Feb 5, 2018

    import scalatags.JsDom.all._
    import scalatags.JsDom.implicits._

    div(height := "800", width := "500")

gives error

No PixelStyleValue defined for type String; scalatags does not know how to use String as an style
[error]     div(height := "800", width := "500")
[error]                ^
@doofin doofin changed the title No PixelStyleValue defined for type String error for basic Jsdom backend No PixelStyleValue defined for type String error for Jsdom backend Feb 5, 2018
@mathieuleclaire
Copy link
Collaborator

mathieuleclaire commented Feb 5, 2018

height := 500 should work

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