Re: [elm-discuss] Re: Is there a way to investigate a Html tree?

2016-07-29 Thread Peter Damoc
Hi Yousuke, This looks like something I could use to inspect for classes. Thank you! I will investigate further. On Thu, Jul 28, 2016 at 6:56 PM, Yosuke Torii wrote: > Recently I wrote a little parser for `toString` representation. > > > https://github.com/jinjor/elm-time-travel/blob/master/s

[elm-discuss] Re: Is there a way to investigate a Html tree?

2016-07-28 Thread Yosuke Torii
Recently I wrote a little parser for `toString` representation. https://github.com/jinjor/elm-time-travel/blob/master/src/TimeTravel/Internal/Parser/Parser.elm It turns toString <| div [] [ input [ type' "text", class "foo", onClick 1 ] [], text "hello" ] into Record ([Property "type" (StringLi