elm-mdl
elm-mdl copied to clipboard
Implement Stepper component
I'm currently working on implementing the Stepper component using the css found in this project.
Since this project requires css that's not part of MDL, what is the recommended course of action for including it in elm-mdl (or not including it)?
By the way, great work on this project! Reading through the source has been immensely helpful in my efforts to learn elm.
Thank!
I think the easier option is to just say "if you use the Stepper component, you must load this additional CSS", assuming the CSS in question is not in conflict with MDL CSS?
Other options are using Options.stylesheet
, but I don't know if you can rely on that being loaded in time.
One option that we'd rather avoid is using modified MDL CSS.
Agreed -- instruction to load additional CSS seems to be the simplest approach. I have not found any conflicts between the two -- in fact the stepper CSS is written in the same style as MDL and thus fits nicely.
On Aug 16, 2016, 12:26 PM -0700, Søren Debois [email protected], wrote:
I think the easier option is to just say "if you use the Stepper component, you must load this additional CSS", assuming the CSS in question is not in conflict with MDL CSS?
Other options are using Options.stylesheet, but I don't know if you can rely on that being loaded in time.
One option that we'd rather avoid is using modified MDL CSS.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/debois/elm-mdl/issues/189#issuecomment-240210785), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAhoQjjwELwFrbdRdxXB35_os8PZ0RR2ks5qgg7ngaJpZM4Jls9G).
Great—looking forward to the PR!
@jalehman - how goes the stepper work? I'd like to lend a hand, if I can.