-
Notifications
You must be signed in to change notification settings - Fork 216
Dyanmic Icon Injection #342
Comments
As long as you use the Iconic directive, it should work as described. Are your icons showing up when they're not dynamically injected? |
They are. To be clear, I'm using ng-repeat on an li to create a nav menu, and am using {{item.url}}, {{item.name}}, and am trying to use {{item.icon}} to output the name of the icon into the data-src. eg. < img zf-iconic="" data-src="bower_components/foundation-apps/iconic/{{item.icon}}.svg" class="iconic-md" > (This is all currently taking place within the home.html partial) |
Hmm.. that's an interesting use case. I'll open up a PR for Iconic to allow dynamic injection. |
Sweet! Glad I didn't waste your time. :) Also, thanks for your video, 'twas helpful in getting me started. |
Look out for another this weekend! Thank you! :) |
Sweet! I look forward to it! I'll keep trying to tackle this and see if I can come up with a solution worth submitting a PR for. |
Hey Guys,
Great work with the new framework, I'm having a lot of fun playing with it.
I was curious if there was a workaround for dynamically injected iconic icons? I can't seem to get them to load when I inject them after the page loads.
What am I missing?
The text was updated successfully, but these errors were encountered: