Created
December 7, 2012 07:53
-
-
Save SweeD/4231561 to your computer and use it in GitHub Desktop.
EmberJS - Dynamic breadcrumb rendering (with action as variable)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the breadcrumb should get rendered, the value of App.breadcrumb.elements is
[ ['Start', 'showPortal'], ['Account', 'showPortalAccount'], ...] # Pair of Label and action name
In Version 1 I get Problems with giving the action as a variable (
lastObject
) and in Version 2 i get the right look of the rendered html but the links does not trigger the action (wrong href attribute set).I.e. instead of
i got
I tried a lot of different versions and none of them have worked, so i guess, iam doing something basic wrong, right?
Thanks for helping! ❤️