Web Developer

Section 11 Routing ActivatedRoute

ActivatedRoute service:

  • snapshot property and snapshot.params property: activatiatedRoute.snapshot.params[‘param name’]
  • params (Observable): activatedRoute.params.subscribe((param: Params) => {…} )

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>