Thanks for the response, Magnus.

If I'm understanding correctly, you have a parent div that prevents default 
click events of child elements, including your anchor tag, and turns them 
into `Attribute msg`.

Your solution is interesting, although it looks like a fair amount of 
boilerplate and work arounds and I'm trying to avoid both.

It might be worthwhile for me to dig through some of the popular JS 
frameworks routing source code to see how they solve this problem. 
AngularJS solves this with a custom href attribute called ui-sref. Maybe a 
custom attribute is the answer for Elm too?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to