B
B
Bur-Burito2017-03-18 22:09:16
JavaScript
Bur-Burito, 2017-03-18 22:09:16

How to add routing in Angular 2 without associating a segment with a component?

There is a table with pagination. I would like the segments of the address bar to include the number of the table page being viewed. But at the same time, I can’t figure out how to register such a routing so that the segment is compared not with the component, but with the property of the parent component.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SergeyBugai, 2017-03-20
@Bur-Burito

Just write the parameters in the route
where :page will be your page number

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question