angular - Angular2 Routes, Components and Inputs: Can they work together? -


i have component has set of inputs in takes in. component generic , takes in bunch inputs config way. i've had requirement component needs used part of routeconfig. issue running don't see how can supply these inputs through routeconfig through bindings or component references.

the solution can forsee if create level between component , route creates these inputs , loads component there way around not having this?

thanks!

for how routeparams see how get paramater in angular2?

if component should work routed component and statically added component uses @input()s , @output()s binding, using wrapper imho best approach.


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -