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

does flow support elm-html widgets? #584

Closed
neocris opened this Issue May 1, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@neocris

neocris commented May 1, 2016

look at this code:

import Html exposing (..)
import Graphics.Element exposing (..)

main =
  flow down
    [flow right
      [toElement
        0 0 (div
              []
              [ text "left" ]),
       toElement
         0 0 (div
              []
              [ text "right" ])],
     flow left
       [toElement
         0 0 (div
              []
              [ text "footer" ])]]

this should give a upper row with two divs followed by a another div below, but it doesn't. if we try the same structure but with, say, 'show "text"' instead of divs it works as expected. is it a bug or by design? i don't see anything on flow docs that imply it shouldn't work in both cases

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 11, 2016

Member

Sorry for the slow reply. It has been busy times. All the Graphics.* modules have moved to evancz/elm-graphics so it makes sense to retarget stuff like this. In the new world, there is no way to embed HTML in Elements anymore.

Member

evancz commented May 11, 2016

Sorry for the slow reply. It has been busy times. All the Graphics.* modules have moved to evancz/elm-graphics so it makes sense to retarget stuff like this. In the new world, there is no way to embed HTML in Elements anymore.

@evancz evancz closed this May 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment