Open pontaoski opened 2 years ago
Does doing tooltips with elm-ui require the use of state in the model for every element that might have one, or am I missing something?
I expected mouseOver [above (el [ centerX, padding 6 ] (text "hi"))] to work, but it doesn't.
mouseOver [above (el [ centerX, padding 6 ] (text "hi"))]
There's an example here: https://ellie-app.com/7R2VHTzHJYYa1 The trick is to toggle transparency on hover.
Does doing tooltips with elm-ui require the use of state in the model for every element that might have one, or am I missing something?
I expected
mouseOver [above (el [ centerX, padding 6 ] (text "hi"))]
to work, but it doesn't.