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

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -